/*
 * Copyright (C) 2016 MediaTek Inc.
 * Copyright (C) 2021 XiaoMi, Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See http://www.gnu.org/licenses/gpl-2.0.html for more details.
 */

#ifndef _MTK_BATTERY_TABLE_H
#define _MTK_BATTERY_TABLE_H

#include "mtk_battery.h"

#ifndef _DEA_MODIFY_
#else
#include "mtk_battery_internal.h"
#endif

/* ============================================================
 * define
 * ============================================================
 */

/* Qmax for battery  */
#define Q_MAX_L_CURRENT 0
#define Q_MAX_H_CURRENT 10000

/* multiple battery profile compile options */
#define MTK_GET_BATTERY_ID_BY_AUXADC


/* if ACTIVE_TABLE == 0 && MULTI_BATTERY == 0
 * load g_FG_PSEUDO100_Tx from dtsi
 */
#define MULTI_BATTERY 0
#define BATTERY_ID_CHANNEL_NUM 1
#define BATTERY_PROFILE_ID 0
#define TOTAL_BATTERY_NUMBER 4

/*
 * if ACTIVE_TABLE == 0 , use DTSI table
 * if ACTIVE_TABLE == x , use .h table
 * ACTIVE_TABLE <= MAX_TABLE
 */
#define ACTIVE_TABLE 0

/*#define MTK_GET_BATTERY_ID_BY_GPIO*/

/* Qmax for battery  */
int g_Q_MAX[MAX_TABLE][TOTAL_BATTERY_NUMBER] = {
	/*bat1,   bat2,   bat3,    bat4*/
	{ 2946, 2712, 2490, 1965},/*T0*/
	{ 2796, 2851, 2468, 1984},/*T1*/
	{ 2718, 2432, 2310, 1946},/*T2*/
	{ 2535, 1991, 1858, 1873},/*T3*/
	{ 2523, 1960, 1843, 1851},/*T4*/
	{ 2211, 1652, 1533, 1541},/*T5*/
	{ 2201, 1642, 1523, 1531},/*T6*/
	{ 2191, 1632, 1513, 1521},/*T7*/
	{ 2181, 1622, 1503, 1511},/*T8*/
	{ 2171, 1612, 1493, 1501} /*T9*/
};

int g_Q_MAX_H_CURRENT[MAX_TABLE][TOTAL_BATTERY_NUMBER] = {
	/*bat1,   bat2,   bat3,    bat4*/
	{ 2646, 2412, 2190, 1665},/*T0*/
	{ 2496, 2551, 2168, 1684},/*T1*/
	{ 2418, 2132, 2010, 1646},/*T2*/
	{ 2235, 1691, 1558, 1573},/*T3*/
	{ 2223, 1660, 1543, 1551},/*T4*/
	{ 2210, 1650, 1533, 1541},/*T5*/
	{ 2200, 1640, 1523, 1531},/*T6*/
	{ 2190, 1630, 1513, 1521},/*T7*/
	{ 2180, 1620, 1503, 1511},/*T8*/
	{ 2170, 1610, 1493, 1501} /*T9*/
};

int g_Q_MAX_SYS_VOLTAGE[TOTAL_BATTERY_NUMBER] = { 3400, 3400, 3400, 3400};

/* 0~0.5V for battery 0, 0.5~1V for battery 1*/
/* 1~1.5V for battery 2, -1 for the last one (battery 3) */
// new for xiaomi
/* 0~0.8V for battery 0, 0.8~1V for battery 1*/
/* 1~1.5V for battery 2, -1 for the last one (battery 3) */
int g_battery_id_voltage[TOTAL_BATTERY_NUMBER] = {
	800000, 1000000, 1500000, -1};

int g_FG_PSEUDO1[MAX_TABLE][TOTAL_BATTERY_NUMBER] = {
	/*bat1,   bat2,   bat3,    bat4*/
	{ 5, 6, 7, 8},/*T0*/
	{ 9, 10, 11, 12},/*T1*/
	{ 13, 14, 15, 16},/*T2*/
	{ 17, 18, 19, 20},/*T3*/
	{ 21, 22, 23, 24},/*T4*/
	{ 23, 22, 21, 20},/*T5*/
	{ 19, 18, 17, 16},/*T6*/
	{ 15, 14, 13, 12},/*T7*/
	{ 11, 10, 11, 12},/*T8*/
	{ 13, 14, 15, 16} /*T9*/
};

int g_FG_PSEUDO100[MAX_TABLE][TOTAL_BATTERY_NUMBER] = {
	/*bat1,   bat2,   bat3,    bat4*/
	{ 100, 100, 100, 100},/*T0*/
	{ 100, 100, 100, 100},/*T1*/
	{ 100, 100, 100, 100},/*T2*/
	{ 100, 100, 100, 100},/*T3*/
	{ 100, 100, 100, 100},/*T4*/
	{ 100, 100, 100, 100},/*T5*/
	{ 100, 100, 100, 100},/*T6*/
	{ 100, 100, 100, 100},/*T7*/
	{ 100, 100, 100, 100},/*T8*/
	{ 100, 100, 100, 100} /*T9*/
};

/* shutdown_hl_zcv */
int g_SHUTDOWN_HL_ZCV[MAX_TABLE][TOTAL_BATTERY_NUMBER] = {
	/*bat1,   bat2,   bat3,    bat4*/
	{3400, 3410, 3420, 3430},/*T0*/
	{3450, 3460, 3470, 3480},/*T1*/
	{3500, 3510, 3520, 3530},/*T2*/
	{3550, 3460, 3470, 3480},/*T3*/
	{3600, 3610, 3620, 3630},/*T4*/
	{3601, 3611, 3621, 3631},/*T5*/
	{3602, 3612, 3622, 3632},/*T6*/
	{3603, 3613, 3623, 3633},/*T7*/
	{3604, 3614, 3624, 3634},/*T8*/
	{3605, 3615, 3625, 3635} /*T9*/
};

/* g_FG_PSEUDO1_OFFSET */
int g_FG_PSEUDO1_OFFSET[TOTAL_BATTERY_NUMBER] = {0, 0, 0, 0};

/* pmic_min_vol by temp ,control by MULTI_TEMP_GAUGE0=1, 34000=3.4v */
int g_PMIC_MIN_VOL[MAX_TABLE][TOTAL_BATTERY_NUMBER] = {
	/*bat1,   bat2,   bat3,    bat4*/
	{33500, 33500, 33500, 33500},/*T0*/
	{33500, 33500, 33500, 33500},/*T1*/
	{33500, 33500, 33500, 33500},/*T2*/
	{32200, 32200, 32200, 32200},/*T3*/
	{31000, 31000, 31000, 31000},/*T4*/
	{33001, 33006, 33009, 33004},/*T5*/
	{33002, 33007, 33008, 33003},/*T6*/
	{33003, 33008, 33007, 33002},/*T7*/
	{33004, 33009, 33006, 33001},/*T8*/
	{33005, 33010, 33005, 33000} /*T9*/
};

/* POWERON_SYSTEM_IBOOT by temp ,control by MULTI_TEMP_GAUGE0=1 ,5000 = 500ma*/
int g_PON_SYS_IBOOT[MAX_TABLE][TOTAL_BATTERY_NUMBER] = {
	/*bat1,   bat2,   bat3,    bat4*/
	{5000, 5000, 5000, 5000},/*T0*/
	{5000, 5000, 5000, 5000},/*T1*/
	{5000, 5000, 5000, 5000},/*T2*/
	{5000, 5000, 5000, 5000},/*T3*/
	{5000, 5000, 5000, 5000},/*T4*/
	{5000, 5000, 5000, 5000},/*T5*/
	{5000, 5000, 5000, 5000},/*T6*/
	{5000, 5000, 5000, 5000},/*T7*/
	{5000, 5000, 5000, 5000},/*T8*/
	{5000, 5000, 5000, 5000} /*T9*/
};

/* Q_MAX_SYS_VOLTAGE by temp ,control by MULTI_TEMP_GAUGE0=1, */
int g_QMAX_SYS_VOL[MAX_TABLE][TOTAL_BATTERY_NUMBER] = {
	/*bat1,   bat2,   bat3,    bat4*/
	{33500, 33500, 33500, 33500},/*T0*/
	{33500, 33500, 33500, 33500},/*T1*/
	{33500, 33500, 33500, 33500},/*T2*/
	{32900, 32900, 32900, 32900},/*T3*/
	{32800, 32800, 32800, 32800},/*T4*/
	{33500, 33500, 33500, 33500},/*T5*/
	{33500, 33500, 33500, 33500},/*T6*/
	{33500, 33500, 33500, 33500},/*T7*/
	{33500, 33500, 33500, 33500},/*T8*/
	{33500, 33500, 33500, 33500} /*T9*/
};


#define TEMPERATURE_TB0	255
#define TEMPERATURE_TB1	254

int g_temperature[MAX_TABLE] = {
	50,/*TEMPERATURE_T0*/
	25,/*TEMPERATURE_T1*/
	10,/*TEMPERATURE_T2*/
	0,/*TEMPERATURE_T3*/
	-10,/*TEMPERATURE_T4*/
	-25,/*TEMPERATURE_T5*/
	-30,/*TEMPERATURE_T6*/
	-35,/*TEMPERATURE_T7*/
	-40,/*TEMPERATURE_T8*/
	-45/*TEMPERATURE_T9*/
};


#define BAT_NTC_10 1
#define BAT_NTC_47 0

#if (BAT_NTC_10 == 1)
#define RBAT_PULL_UP_R             24000
#endif

#if (BAT_NTC_47 == 1)
#define RBAT_PULL_UP_R             61900
#endif

#define RBAT_PULL_UP_VOLT          2800

#define BIF_NTC_R 16000

#if (BAT_NTC_10 == 1)
struct FUELGAUGE_TEMPERATURE Fg_Temperature_Table[21] = {
		{-40, 195652},
		{-35, 148171},
		{-30, 113347},
		{-25, 87559},
		{-20, 68237},
		{-15, 53650},
		{-10, 42506},
		{-5, 33892},
		{0, 27219},
		{5, 22021},
		{10, 17926},
		{15, 14674},
		{20, 12081},
		{25, 10000},
		{30, 8315},
		{35, 6948},
		{40, 5834},
		{45, 4917},
		{50, 4161},
		{55, 3535},
		{60, 3014}
};
#endif

#if (BAT_NTC_47 == 1)
struct FUELGAUGE_TEMPERATURE Fg_Temperature_Table[21] = {
		{-40, 1747920},
		{-35, 1245428},
		{-30, 898485},
		{-25, 655802},
		{-20, 483954},
		{-15, 360850},
		{-10, 271697},
		{-5, 206463},
		{0, 158214},
		{5, 122259},
		{10, 95227},
		{15, 74730},
		{20, 59065},
		{25, 47000},
		{30, 37643},
		{35, 30334},
		{40, 24591},
		{45, 20048},
		{50, 16433},
		{55, 13539},
		{60, 11210}
};
#endif



/* ============================================================
 * <DOD, Battery_Voltage> Table
 * ============================================================
 */



/* T0 */
struct FUELGAUGE_PROFILE_STRUCT fg_profile_t0[TOTAL_BATTERY_NUMBER][100] = {
	{
		{0,       44070,   950},
		{455,     43941,   950},
		{911,     43822,   963},
		{1366,    43709,   975},
		{1821,    43595,   975},
		{2276,    43481,   975},
		{2732,    43373,   989},
		{3187,    43263,   1000},
		{3642,    43149,   1000},
		{4097,    43036,   1000},
		{4553,    42916,   1000},
		{5008,    42795,   1000},
		{5463,    42673,   1000},
		{5918,    42552,   1000},
		{6374,    42430,   1000},
		{6829,    42309,   1042},
		{7284,    42189,   1124},
		{7739,    42068,   1029},
		{8195,    41951,   1013},
		{8650,    41835,   1025},
		{9105,    41713,   1024},
		{9560,    41592,   1005},
		{10016,   41476,   1014},
		{10471,   41362,   1025},
		{10926,   41249,   1027},
		{11381,   41143,   1046},
		{11837,   41031,   1035},
		{12292,   40921,   1034},
		{12747,   40814,   1050},
		{13202,   40708,   1050},
		{13658,   40608,   1066},
		{14113,   40507,   1065},
		{14568,   40403,   1053},
		{15023,   40304,   1072},
		{15479,   40212,   1091},
		{15934,   40121,   1100},
		{16389,   40030,   1104},
		{16844,   39939,   1123},
		{17300,   39841,   1142},
		{17755,   39743,   1161},
		{18210,   39636,   1170},
		{18665,   39507,   1151},
		{19121,   39356,   1078},
		{19576,   39229,   1038},
		{20031,   39122,   1019},
		{20486,   39031,   1000},
		{20942,   38955,   1000},
		{21397,   38884,   1000},
		{21852,   38818,   1000},
		{22307,   38758,   1000},
		{22763,   38697,   1000},
		{23218,   38636,   1000},
		{23673,   38579,   1000},
		{24128,   38526,   1000},
		{24584,   38472,   1000},
		{25039,   38425,   1000},
		{25494,   38376,   1000},
		{25949,   38324,   1000},
		{26405,   38279,   1000},
		{26860,   38239,   1015},
		{27315,   38201,   1025},
		{27770,   38163,   1028},
		{28226,   38126,   1047},
		{28681,   38088,   1050},
		{29136,   38050,   1060},
		{29591,   38012,   1075},
		{30047,   37974,   1075},
		{30502,   37930,   1075},
		{30957,   37863,   1054},
		{31412,   37779,   1016},
		{31868,   37696,   978},
		{32323,   37648,   1010},
		{32778,   37598,   1025},
		{33233,   37544,   1025},
		{33689,   37491,   1025},
		{34144,   37438,   1025},
		{34599,   37395,   1037},
		{35054,   37355,   1050},
		{35510,   37309,   1050},
		{35965,   37256,   1069},
		{36420,   37187,   1048},
		{36875,   37117,   1032},
		{37331,   37055,   1050},
		{37786,   36987,   1050},
		{38241,   36907,   993},
		{38696,   36850,   958},
		{39152,   36829,   981},
		{39607,   36822,   1038},
		{40062,   36808,   1125},
		{40517,   36789,   1220},
		{40973,   36752,   1294},
		{41428,   36638,   1256},
		{41883,   36318,   1156},
		{42338,   35877,   1129},
		{42794,   35310,   1185},
		{43249,   34552,   1242},
		{43704,   33307,   1414},
		{44159,   30897,   3219},
		{44615,   28650,   1650},
		{45070,   28650,   1650}
	},
	{
		{0,       44060,   1000},
		{459,     43953,   1000},
		{918,     43846,   1000},
		{1378,    43739,   1000},
		{1837,    43631,   1000},
		{2296,    43524,   1000},
		{2755,    43417,   1015},
		{3214,    43303,   1016},
		{3674,    43183,   1003},
		{4133,    43076,   1022},
		{4592,    42955,   1025},
		{5051,    42833,   1025},
		{5510,    42711,   1025},
		{5969,    42588,   1025},
		{6429,    42466,   1025},
		{6888,    42343,   1089},
		{7347,    42218,   1153},
		{7806,    42088,   1019},
		{8265,    41965,   1016},
		{8725,    41846,   1036},
		{9184,    41730,   1050},
		{9643,    41607,   1050},
		{10102,   41485,   1032},
		{10561,   41367,   1037},
		{11021,   41252,   1050},
		{11480,   41138,   1050},
		{11939,   41023,   1050},
		{12398,   40913,   1050},
		{12857,   40803,   1050},
		{13317,   40689,   1050},
		{13776,   40582,   1050},
		{14235,   40481,   1065},
		{14694,   40381,   1084},
		{15153,   40282,   1100},
		{15613,   40182,   1100},
		{16072,   40090,   1117},
		{16531,   39993,   1125},
		{16990,   39898,   1140},
		{17449,   39814,   1197},
		{17908,   39706,   1200},
		{18368,   39588,   1187},
		{18827,   39452,   1140},
		{19286,   39293,   1049},
		{19745,   39171,   1030},
		{20204,   39065,   1011},
		{20664,   38976,   1000},
		{21123,   38901,   1000},
		{21582,   38832,   1000},
		{22041,   38763,   1000},
		{22500,   38698,   1000},
		{22960,   38637,   1000},
		{23419,   38575,   1000},
		{23878,   38521,   1000},
		{24337,   38468,   1000},
		{24796,   38414,   1000},
		{25256,   38361,   1000},
		{25715,   38315,   1000},
		{26174,   38269,   1000},
		{26633,   38226,   1007},
		{27092,   38187,   1025},
		{27552,   38141,   1025},
		{28011,   38101,   1025},
		{28470,   38063,   1025},
		{28929,   38025,   1028},
		{29388,   37995,   1047},
		{29847,   37958,   1050},
		{30307,   37924,   1071},
		{30766,   37888,   1100},
		{31225,   37834,   1100},
		{31684,   37752,   1029},
		{32143,   37677,   1000},
		{32603,   37613,   1000},
		{33062,   37560,   1000},
		{33521,   37514,   1019},
		{33980,   37468,   1025},
		{34439,   37422,   1025},
		{34899,   37377,   1027},
		{35358,   37339,   1046},
		{35817,   37294,   1050},
		{36276,   37244,   1059},
		{36735,   37187,   1068},
		{37195,   37118,   1030},
		{37654,   37056,   1042},
		{38113,   36995,   1061},
		{38572,   36928,   1055},
		{39031,   36843,   978},
		{39491,   36811,   975},
		{39950,   36795,   1000},
		{40409,   36787,   1058},
		{40868,   36779,   1154},
		{41327,   36756,   1249},
		{41786,   36705,   1303},
		{42246,   36543,   1268},
		{42705,   36221,   1150},
		{43164,   35723,   1150},
		{43623,   35064,   1228},
		{44082,   34127,   1391},
		{44542,   32646,   2542},
		{45001,   29121,   2826},
		{45460,   29020,   2700}
	},
	{
		{0,       44110,   880},
		{463,     43994,   876},
		{926,     43884,   875},
		{1389,    43779,   883},
		{1853,    43678,   900},
		{2316,    43570,   900},
		{2779,    43457,   900},
		{3242,    43346,   900},
		{3705,    43236,   904},
		{4168,    43120,   923},
		{4631,    42998,   907},
		{5094,    42879,   912},
		{5558,    42761,   925},
		{6021,    42637,   925},
		{6484,    42514,   925},
		{6947,    42386,   975},
		{7410,    42258,   1005},
		{7873,    42134,   928},
		{8336,    42011,   925},
		{8799,    41893,   938},
		{9263,    41771,   943},
		{9726,    41641,   925},
		{10189,   41527,   925},
		{10652,   41412,   940},
		{11115,   41293,   941},
		{11578,   41172,   928},
		{12041,   41064,   948},
		{12505,   40949,   950},
		{12968,   40838,   950},
		{13431,   40729,   955},
		{13894,   40621,   975},
		{14357,   40513,   956},
		{14820,   40411,   963},
		{15283,   40311,   983},
		{15746,   40212,   1000},
		{16210,   40112,   1000},
		{16673,   40017,   1015},
		{17136,   39925,   1034},
		{17599,   39831,   1057},
		{18062,   39730,   1096},
		{18525,   39623,   1117},
		{18988,   39492,   1079},
		{19452,   39343,   1001},
		{19915,   39189,   925},
		{20378,   39090,   906},
		{20841,   39001,   900},
		{21304,   38919,   892},
		{21767,   38844,   877},
		{22230,   38782,   896},
		{22693,   38714,   900},
		{23157,   38648,   900},
		{23620,   38588,   900},
		{24083,   38534,   900},
		{24546,   38480,   900},
		{25009,   38427,   900},
		{25472,   38373,   894},
		{25935,   38319,   875},
		{26398,   38273,   895},
		{26862,   38227,   900},
		{27325,   38184,   908},
		{27788,   38145,   925},
		{28251,   38107,   925},
		{28714,   38068,   925},
		{29177,   38034,   935},
		{29640,   38001,   950},
		{30104,   37962,   950},
		{30567,   37931,   986},
		{31030,   37891,   1000},
		{31493,   37835,   981},
		{31956,   37757,   924},
		{32419,   37680,   905},
		{32882,   37620,   900},
		{33345,   37569,   909},
		{33809,   37522,   922},
		{34272,   37468,   903},
		{34735,   37421,   900},
		{35198,   37375,   911},
		{35661,   37331,   930},
		{36124,   37292,   949},
		{36587,   37246,   950},
		{37051,   37190,   950},
		{37514,   37125,   943},
		{37977,   37056,   927},
		{38440,   36995,   966},
		{38903,   36921,   931},
		{39366,   36855,   882},
		{39829,   36807,   853},
		{40292,   36792,   873},
		{40756,   36783,   958},
		{41219,   36771,   1054},
		{41682,   36752,   1150},
		{42145,   36721,   1247},
		{42608,   36533,   1101},
		{43071,   36180,   1050},
		{43534,   35678,   1072},
		{43997,   35034,   1136},
		{44461,   34092,   1271},
		{44924,   32241,   2816},
		{45387,   29040,   2750},
		{45850,   29040,   2750},
	},
	{
		{0,	     43280, 975 },
		{301,	   43170, 975 },
		{601,	   43050, 1025},
		{902,	   42929, 1000},
		{1202,	 42819, 975 },
		{1503,	 42689, 950 },
		{1804,	 42579, 976 },
		{2104,	 42478, 1049},
		{2405,	 42348, 976 },
		{2705,	 42248, 1025},
		{3006,	 42148, 1050},
		{3307,	 42037, 1049},
		{3607,	 41917, 1026},
		{3908,	 41807, 1050},
		{4208,	 41707, 1050},
		{4509,	 41587, 1050},
		{4810,	 41483, 1052},
		{5110,	 41374, 1075},
		{5411,	 41282, 1075},
		{5712,	 41172, 1075},
		{6012,	 41063, 1073},
		{6313,	 40963, 1052},
		{6613,	 40871, 1075},
		{6914,	 40751, 1073},
		{7215,	 40643, 1060},
		{7515,	 40563, 1177},
		{7816,	 40482, 1196},
		{8116,	 40391, 1150},
		{8417,	 40292, 1146},
		{8718,	 40203, 1107},
		{9018,	 40122, 1175},
		{9319,	 40040, 1173},
		{9619,	 39942, 1152},
		{9920,	 39862, 1175},
		{10221,  39782, 1183},
		{10521,  39701, 1245},
		{10822,  39612, 1205},
		{11122,  39530, 1250},
		{11423,  39436, 1242},
		{11724,  39308, 1172},
		{12024,  39196, 1144},
		{12325,  39077, 1094},
		{12625,  38972, 1053},
		{12926,  38899, 1066},
		{13227,  38814, 1003},
		{13527,  38761, 1025},
		{13828,  38691, 1022},
		{14128,  38625, 1007},
		{14429,  38580, 1042},
		{14730,  38523, 1008},
		{15030,  38483, 1054},
		{15331,  38440, 1071},
		{15632,  38381, 1046},
		{15932,  38335, 1034},
		{16233,  38299, 1097},
		{16533,  38243, 1169},
		{16834,  38205, 1029},
		{17135,  38175, 1059},
		{17435,  38143, 1095},
		{17736,  38103, 1084},
		{18036,  38059, 1111},
		{18337,  38008, 1093},
		{18638,  37996, 1256},
		{18938,  37968, 1156},
		{19239,  37920, 1095},
		{19539,  37910, 1165},
		{19840,  37864, 1125},
		{20141,  37832, 1130},
		{20441,  37786, 1135},
		{20742,  37714, 1065},
		{21042,  37638, 1025},
		{21343,  37582, 1030},
		{21644,  37539, 1050},
		{21944,  37489, 1039},
		{22245,  37441, 1011},
		{22545,  37401, 1077},
		{22846,  37361, 1142},
		{23147,  37323, 1025},
		{23447,  37295, 1037},
		{23748,  37264, 1069},
		{24048,  37202, 1043},
		{24349,  37129, 1018},
		{24650,  37062, 1060},
		{24950,  37029, 1185},
		{25251,  36968, 1075},
		{25552,  36866, 1068},
		{25852,  36822, 1029},
		{26153,  36797, 989 },
		{26453,  36793, 1025},
		{26754,  36797, 1039},
		{27055,  36787, 1096},
		{27355,  36774, 1178},
		{27656,  36737, 1236},
		{27956,  36608, 1178},
		{28257,  36305, 1118},
		{28558,  35848, 1115},
		{28858,  35271, 1150},
		{29159,  34459, 1187},
		{29459,  33091, 1536},
		{29760,  29420, 8600}
	}

};

/* T1 */
struct FUELGAUGE_PROFILE_STRUCT fg_profile_t1[TOTAL_BATTERY_NUMBER][100] = {
	{
		{0,       44130,   1200},
		{455,     44024,   1200},
		{911,     43918,   1213},
		{1366,    43811,   1218},
		{1821,    43705,   1201},
		{2276,    43607,   1220},
		{2732,    43503,   1225},
		{3187,    43393,   1217},
		{3642,    43279,   1200},
		{4097,    43166,   1200},
		{4553,    43052,   1215},
		{5008,    42935,   1216},
		{5463,    42813,   1200},
		{5918,    42692,   1200},
		{6374,    42570,   1200},
		{6829,    42449,   1250},
		{7284,    42329,   1349},
		{7739,    42208,   1235},
		{8195,    42086,   1200},
		{8650,    41968,   1207},
		{9105,    41853,   1225},
		{9560,    41732,   1225},
		{10016,   41616,   1239},
		{10471,   41502,   1250},
		{10926,   41388,   1252},
		{11381,   41275,   1271},
		{11837,   41161,   1260},
		{12292,   41051,   1259},
		{12747,   40943,   1275},
		{13202,   40829,   1275},
		{13658,   40722,   1275},
		{14113,   40620,   1294},
		{14568,   40523,   1325},
		{15023,   40424,   1325},
		{15479,   40326,   1341},
		{15934,   40227,   1360},
		{16389,   40130,   1383},
		{16844,   40039,   1421},
		{17300,   39941,   1442},
		{17755,   39843,   1461},
		{18210,   39740,   1470},
		{18665,   39626,   1451},
		{19121,   39491,   1396},
		{19576,   39349,   1304},
		{20031,   39217,   1219},
		{20486,   39111,   1200},
		{20942,   39027,   1200},
		{21397,   38949,   1187},
		{21852,   38876,   1175},
		{22307,   38808,   1175},
		{22763,   38747,   1175},
		{23218,   38686,   1175},
		{23673,   38626,   1167},
		{24128,   38566,   1153},
		{24584,   38521,   1191},
		{25039,   38469,   1185},
		{25494,   38420,   1184},
		{25949,   38374,   1200},
		{26405,   38329,   1200},
		{26860,   38283,   1200},
		{27315,   38241,   1209},
		{27770,   38203,   1225},
		{28226,   38166,   1225},
		{28681,   38128,   1225},
		{29136,   38094,   1235},
		{29591,   38062,   1250},
		{30047,   38024,   1250},
		{30502,   37993,   1267},
		{30957,   37959,   1275},
		{31412,   37921,   1275},
		{31868,   37883,   1275},
		{32323,   37824,   1222},
		{32778,   37772,   1200},
		{33233,   37727,   1200},
		{33689,   37681,   1200},
		{34144,   37628,   1182},
		{34599,   37580,   1175},
		{35054,   37537,   1181},
		{35510,   37499,   1200},
		{35965,   37454,   1200},
		{36420,   37403,   1200},
		{36875,   37344,   1193},
		{37331,   37276,   1175},
		{37786,   37215,   1175},
		{38241,   37155,   1189},
		{38696,   37081,   1184},
		{39152,   36997,   1150},
		{39607,   36966,   1150},
		{40062,   36954,   1165},
		{40517,   36943,   1193},
		{40973,   36926,   1237},
		{41428,   36904,   1313},
		{41883,   36843,   1388},
		{42338,   36646,   1358},
		{42794,   36285,   1260},
		{43249,   35769,   1317},
		{43704,   35050,   1407},
		{44159,   33991,   1585},
		{44615,   32201,   2561},
		{45070,   29250,   3175}
	},
	{
		{0,       44130,   1280},
		{459,     44038,   1295},
		{918,     43941,   1300},
		{1378,    43842,   1300},
		{1837,    43742,   1300},
		{2296,    43643,   1300},
		{2755,    43537,   1300},
		{3214,    43430,   1300},
		{3674,    43322,   1300},
		{4133,    43207,   1300},
		{4592,    43085,   1284},
		{5051,    42967,   1285},
		{5510,    42849,   1295},
		{5969,    42719,   1276},
		{6429,    42603,   1293},
		{6888,    42478,   1354},
		{7347,    42349,   1406},
		{7806,    42227,   1291},
		{8265,    42105,   1291},
		{8725,    41982,   1289},
		{9184,    41860,   1275},
		{9643,    41737,   1275},
		{10102,   41622,   1293},
		{10561,   41507,   1312},
		{11021,   41390,   1325},
		{11480,   41268,   1325},
		{11939,   41153,   1325},
		{12398,   41038,   1325},
		{12857,   40926,   1333},
		{13317,   40819,   1350},
		{13776,   40712,   1350},
		{14235,   40611,   1380},
		{14694,   40508,   1400},
		{15153,   40401,   1403},
		{15613,   40293,   1423},
		{16072,   40193,   1458},
		{16531,   40093,   1497},
		{16990,   39994,   1530},
		{17449,   39894,   1549},
		{17908,   39793,   1569},
		{18368,   39678,   1549},
		{18827,   39547,   1483},
		{19286,   39402,   1371},
		{19745,   39264,   1294},
		{20204,   39150,   1261},
		{20664,   39049,   1233},
		{21123,   38960,   1200},
		{21582,   38883,   1200},
		{22041,   38819,   1216},
		{22500,   38754,   1215},
		{22960,   38687,   1200},
		{23419,   38625,   1200},
		{23878,   38571,   1217},
		{24337,   38518,   1225},
		{24796,   38464,   1225},
		{25256,   38411,   1225},
		{25715,   38365,   1225},
		{26174,   38319,   1225},
		{26633,   38273,   1225},
		{27092,   38227,   1226},
		{27552,   38189,   1245},
		{28011,   38151,   1250},
		{28470,   38113,   1250},
		{28929,   38075,   1253},
		{29388,   38045,   1272},
		{29847,   38008,   1275},
		{30307,   37974,   1285},
		{30766,   37943,   1300},
		{31225,   37912,   1300},
		{31684,   37868,   1282},
		{32143,   37826,   1275},
		{32603,   37786,   1263},
		{33062,   37740,   1225},
		{33521,   37694,   1225},
		{33980,   37648,   1225},
		{34439,   37602,   1218},
		{34899,   37556,   1200},
		{35358,   37510,   1200},
		{35817,   37476,   1215},
		{36276,   37437,   1225},
		{36735,   37390,   1229},
		{37195,   37336,   1248},
		{37654,   37269,   1233},
		{38113,   37205,   1236},
		{38572,   37142,   1255},
		{39031,   37073,   1274},
		{39491,   36997,   1238},
		{39950,   36955,   1237},
		{40409,   36935,   1257},
		{40868,   36920,   1277},
		{41327,   36912,   1335},
		{41786,   36893,   1420},
		{42246,   36847,   1508},
		{42705,   36741,   1564},
		{43164,   36412,   1468},
		{43623,   35908,   1512},
		{44082,   35237,   1618},
		{44542,   34304,   1828},
		{45001,   32819,   2345},
		{45460,   30190,   5475}
	},
	{
		{0,       44190,   1180},
		{463,     44090,   1176},
		{926,     43989,   1175},
		{1389,    43889,   1175},
		{1853,    43789,   1173},
		{2316,    43688,   1154},
		{2779,    43589,   1166},
		{3242,    43482,   1165},
		{3705,    43368,   1154},
		{4168,    43260,   1173},
		{4631,    43145,   1175},
		{5094,    43024,   1163},
		{5558,    42901,   1150},
		{6021,    42777,   1150},
		{6484,    42654,   1150},
		{6947,    42531,   1224},
		{7410,    42408,   1270},
		{7873,    42284,   1154},
		{8336,    42161,   1150},
		{8799,    42037,   1150},
		{9263,    41914,   1150},
		{9726,    41791,   1150},
		{10189,   41669,   1150},
		{10652,   41552,   1165},
		{11115,   41433,   1175},
		{11578,   41310,   1175},
		{12041,   41195,   1175},
		{12505,   41086,   1192},
		{12968,   40973,   1200},
		{13431,   40859,   1205},
		{13894,   40751,   1225},
		{14357,   40643,   1244},
		{14820,   40541,   1263},
		{15283,   40438,   1283},
		{15746,   40332,   1302},
		{16210,   40232,   1321},
		{16673,   40131,   1355},
		{17136,   40031,   1384},
		{17599,   39931,   1404},
		{18062,   39830,   1423},
		{18525,   39723,   1425},
		{18988,   39596,   1379},
		{19452,   39455,   1296},
		{19915,   39309,   1199},
		{20378,   39185,   1142},
		{20841,   39079,   1111},
		{21304,   38986,   1092},
		{21767,   38903,   1075},
		{22230,   38833,   1075},
		{22693,   38770,   1091},
		{23157,   38705,   1090},
		{23620,   38638,   1075},
		{24083,   38584,   1075},
		{24546,   38530,   1093},
		{25009,   38476,   1088},
		{25472,   38425,   1081},
		{25935,   38379,   1100},
		{26398,   38325,   1080},
		{26862,   38277,   1089},
		{27325,   38234,   1100},
		{27788,   38195,   1102},
		{28251,   38157,   1122},
		{28714,   38118,   1125},
		{29177,   38084,   1135},
		{29640,   38051,   1150},
		{30104,   38012,   1150},
		{30567,   37981,   1168},
		{31030,   37946,   1163},
		{31493,   37910,   1156},
		{31956,   37878,   1174},
		{32419,   37832,   1135},
		{32882,   37786,   1125},
		{33345,   37739,   1116},
		{33809,   37693,   1100},
		{34272,   37647,   1100},
		{34735,   37601,   1084},
		{35198,   37554,   1075},
		{35661,   37510,   1075},
		{36124,   37472,   1075},
		{36587,   37434,   1093},
		{37051,   37385,   1100},
		{37514,   37328,   1100},
		{37977,   37266,   1100},
		{38440,   37205,   1100},
		{38903,   37143,   1115},
		{39366,   37070,   1116},
		{39829,   36992,   1100},
		{40292,   36946,   1100},
		{40756,   36927,   1117},
		{41219,   36916,   1147},
		{41682,   36906,   1195},
		{42145,   36891,   1272},
		{42608,   36853,   1368},
		{43071,   36705,   1374},
		{43534,   36406,   1350},
		{43997,   35926,   1358},
		{44461,   35254,   1454},
		{44924,   34267,   1672},
		{45387,   32533,   4320},
		{45850,   30170,   5475},
	},
	{
		{0,	     43200, 1050},
		{301,	   43080, 1300},
		{601,	   42960, 1350},
		{902,	   42839, 1300},
		{1202,	 42719, 1325},
		{1503,	 42619, 1350},
		{1804,	 42509, 1375},
		{2104,	 42388, 1401},
		{2405,	 42278, 1450},
		{2705,	 42168, 1450},
		{3006,	 42067, 1474},
		{3307,	 41938, 1449},
		{3607,	 41837, 1424},
		{3908,	 41727, 1400},
		{4208,	 41617, 1401},
		{4509,	 41527, 1450},
		{4810,	 41413, 1448},
		{5110,	 41313, 1425},
		{5411,	 41212, 1427},
		{5712,	 41093, 1448},
		{6012,	 40993, 1429},
		{6313,	 40893, 1475},
		{6613,	 40803, 1475},
		{6914,	 40716, 1481},
		{7215,	 40665, 1550},
		{7515,	 40599, 1550},
		{7816,	 40465, 1541},
		{8116,	 40289, 1454},
		{8417,	 40159, 1502},
		{8718,	 40043, 1525},
		{9018,	 39964, 1530},
		{9319,	 39905, 1589},
		{9619,	 39854, 1720},
		{9920,	 39792, 1670},
		{10221,  39712, 1625},
		{10521,  39628, 1617},
		{10822,  39509, 1550},
		{11122,  39408, 1545},
		{11423,  39297, 1497},
		{11724,  39177, 1472},
		{12024,  39060, 1447},
		{12325,  38970, 1419},
		{12625,  38884, 1381},
		{12926,  38830, 1413},
		{13227,  38754, 1328},
		{13527,  38703, 1350},
		{13828,  38644, 1350},
		{14128,  38591, 1340},
		{14429,  38523, 1279},
		{14730,  38483, 1308},
		{15030,  38438, 1342},
		{15331,  38377, 1313},
		{15632,  38355, 1371},
		{15932,  38321, 1354},
		{16233,  38271, 1371},
		{16533,  38225, 1354},
		{16834,  38193, 1366},
		{17135,  38155, 1334},
		{17435,  38124, 1380},
		{17736,  38094, 1405},
		{18036,  38062, 1425},
		{18337,  38022, 1416},
		{18638,  37988, 1389},
		{18938,  37972, 1450},
		{19239,  37934, 1450},
		{19539,  37904, 1450},
		{19840,  37870, 1440},
		{20141,  37824, 1390},
		{20441,  37792, 1355},
		{20742,  37752, 1375},
		{21042,  37712, 1380},
		{21343,  37672, 1400},
		{21644,  37629, 1400},
		{21944,  37584, 1395},
		{22245,  37554, 1386},
		{22545,  37523, 1425},
		{22846,  37491, 1419},
		{23147,  37453, 1406},
		{23447,  37418, 1413},
		{23748,  37364, 1381},
		{24048,  37304, 1387},
		{24349,  37239, 1337},
		{24650,  37172, 1320},
		{24950,  37129, 1368},
		{25251,  37048, 1343},
		{25552,  36982, 1318},
		{25852,  36960, 1321},
		{26153,  36957, 1382},
		{26453,  36942, 1393},
		{26754,  36920, 1396},
		{27055,  36909, 1450},
		{27355,  36863, 1471},
		{27656,  36743, 1504},
		{27956,  36423, 1457},
		{28257,  35951, 1497},
		{28558,  35341, 1579},
		{28858,  34475, 1731},
		{29159,  32837, 5201},
		{29459,  28212, 5733},
		{29760,  28180, 5625}
	}

};

/* T2 */
struct FUELGAUGE_PROFILE_STRUCT fg_profile_t2[TOTAL_BATTERY_NUMBER][100] = {
	{
		{0,       44180,   1730},
		{455,     44059,   1726},
		{911,     43953,   1738},
		{1366,    43851,   1743},
		{1821,    43745,   1725},
		{2276,    43647,   1725},
		{2732,    43548,   1739},
		{3187,    43443,   1742},
		{3642,    43329,   1725},
		{4097,    43216,   1725},
		{4553,    43102,   1725},
		{5008,    42985,   1716},
		{5463,    42863,   1700},
		{5918,    42742,   1700},
		{6374,    42620,   1700},
		{6829,    42499,   1767},
		{7284,    42379,   1899},
		{7739,    42258,   1747},
		{8195,    42136,   1700},
		{8650,    42015,   1700},
		{9105,    41894,   1701},
		{9560,    41780,   1720},
		{10016,   41661,   1711},
		{10471,   41542,   1708},
		{10926,   41428,   1725},
		{11381,   41315,   1725},
		{11837,   41201,   1740},
		{12292,   41087,   1750},
		{12747,   40974,   1753},
		{13202,   40868,   1772},
		{13658,   40768,   1806},
		{14113,   40670,   1835},
		{14568,   40572,   1857},
		{15023,   40466,   1894},
		{15479,   40359,   1916},
		{15934,   40257,   1935},
		{16389,   40157,   1950},
		{16844,   40051,   1950},
		{17300,   39958,   1967},
		{17755,   39858,   1975},
		{18210,   39748,   1965},
		{18665,   39627,   1927},
		{19121,   39484,   1835},
		{19576,   39344,   1740},
		{20031,   39217,   1663},
		{20486,   39111,   1625},
		{20942,   39020,   1606},
		{21397,   38939,   1600},
		{21852,   38866,   1600},
		{22307,   38797,   1599},
		{22763,   38729,   1580},
		{23218,   38666,   1575},
		{23673,   38609,   1583},
		{24128,   38556,   1600},
		{24584,   38502,   1600},
		{25039,   38449,   1600},
		{25494,   38400,   1609},
		{25949,   38354,   1625},
		{26405,   38309,   1625},
		{26860,   38263,   1640},
		{27315,   38221,   1650},
		{27770,   38182,   1650},
		{28226,   38137,   1650},
		{28681,   38105,   1666},
		{29136,   38070,   1685},
		{29591,   38034,   1700},
		{30047,   38004,   1700},
		{30502,   37967,   1700},
		{30957,   37933,   1711},
		{31412,   37903,   1725},
		{31868,   37872,   1725},
		{32323,   37842,   1725},
		{32778,   37807,   1713},
		{33233,   37767,   1694},
		{33689,   37721,   1675},
		{34144,   37668,   1638},
		{34599,   37620,   1625},
		{35054,   37577,   1631},
		{35510,   37539,   1650},
		{35965,   37501,   1669},
		{36420,   37453,   1688},
		{36875,   37394,   1700},
		{37331,   37326,   1701},
		{37786,   37265,   1720},
		{38241,   37199,   1753},
		{38696,   37121,   1775},
		{39152,   37035,   1775},
		{39607,   36989,   1775},
		{40062,   36968,   1820},
		{40517,   36953,   1886},
		{40973,   36935,   1959},
		{41428,   36905,   2016},
		{41883,   36850,   2119},
		{42338,   36675,   2185},
		{42794,   36345,   2224},
		{43249,   35829,   2357},
		{43704,   35116,   2589},
		{44159,   34086,   3033},
		{44615,   32363,   4203},
		{45070,   28920,   2425}
	},
	{
		{0,       44150,   2530},
		{459,     44028,   2526},
		{918,     43916,   2552},
		{1378,    43812,   2575},
		{1837,    43711,   2573},
		{2296,    43604,   2554},
		{2755,    43497,   2550},
		{3214,    43386,   2541},
		{3674,    43272,   2525},
		{4133,    43157,   2525},
		{4592,    43042,   2509},
		{5051,    42923,   2490},
		{5510,    42801,   2475},
		{5969,    42678,   2475},
		{6429,    42556,   2457},
		{6888,    42428,   2579},
		{7347,    42299,   2708},
		{7806,    42177,   2460},
		{8265,    42055,   2409},
		{8725,    41936,   2411},
		{9184,    41820,   2420},
		{9643,    41697,   2401},
		{10102,   41582,   2418},
		{10561,   41462,   2425},
		{11021,   41342,   2425},
		{11480,   41228,   2425},
		{11939,   41113,   2425},
		{12398,   40998,   2425},
		{12857,   40886,   2425},
		{13317,   40780,   2431},
		{13776,   40680,   2488},
		{14235,   40575,   2530},
		{14694,   40464,   2550},
		{15153,   40351,   2553},
		{15613,   40243,   2573},
		{16072,   40136,   2558},
		{16531,   40029,   2550},
		{16990,   39924,   2550},
		{17449,   39824,   2550},
		{17908,   39709,   2513},
		{18368,   39588,   2462},
		{18827,   39460,   2397},
		{19286,   39323,   2321},
		{19745,   39201,   2244},
		{20204,   39090,   2196},
		{20664,   38989,   2158},
		{21123,   38900,   2125},
		{21582,   38823,   2125},
		{22041,   38753,   2125},
		{22500,   38688,   2135},
		{22960,   38627,   2150},
		{23419,   38565,   2150},
		{23878,   38504,   2133},
		{24337,   38448,   2137},
		{24796,   38394,   2150},
		{25256,   38341,   2150},
		{25715,   38295,   2150},
		{26174,   38249,   2163},
		{26633,   38206,   2189},
		{27092,   38167,   2225},
		{27552,   38121,   2225},
		{28011,   38081,   2240},
		{28470,   38043,   2250},
		{28929,   38005,   2253},
		{29388,   37975,   2272},
		{29847,   37944,   2291},
		{30307,   37914,   2300},
		{30766,   37883,   2300},
		{31225,   37852,   2300},
		{31684,   37829,   2335},
		{32143,   37806,   2350},
		{32603,   37780,   2350},
		{33062,   37750,   2350},
		{33521,   37719,   2369},
		{33980,   37683,   2388},
		{34439,   37642,   2407},
		{34899,   37597,   2430},
		{35358,   37559,   2487},
		{35817,   37520,   2545},
		{36276,   37474,   2613},
		{36735,   37419,   2689},
		{37195,   37357,   2766},
		{37654,   37289,   2825},
		{38113,   37221,   2905},
		{38572,   37148,   3000},
		{39031,   37063,   3096},
		{39491,   36994,   3210},
		{39950,   36945,   3362},
		{40409,   36912,   3554},
		{40868,   36889,   3787},
		{41327,   36858,   4093},
		{41786,   36805,   4483},
		{42246,   36718,   4953},
		{42705,   36573,   5487},
		{43164,   36267,   6003},
		{43623,   35756,   6846},
		{44082,   35046,   8423},
		{44542,   34083,   10818},
		{45001,   32440,   11126},
		{45460,   30650,   6800}
	},
	{
		{0,       44190,   2400},
		{463,     44074,   2400},
		{926,     43964,   2400},
		{1389,    43859,   2400},
		{1853,    43758,   2398},
		{2316,    43650,   2379},
		{2779,    43549,   2391},
		{3242,    43446,   2390},
		{3705,    43336,   2371},
		{4168,    43220,   2352},
		{4631,    43105,   2350},
		{5094,    42984,   2338},
		{5558,    42861,   2319},
		{6021,    42737,   2300},
		{6484,    42614,   2280},
		{6947,    42491,   2424},
		{7410,    42366,   2510},
		{7873,    42235,   2259},
		{8336,    42111,   2250},
		{8799,    41993,   2250},
		{9263,    41874,   2250},
		{9726,    41751,   2249},
		{10189,   41629,   2230},
		{10652,   41512,   2240},
		{11115,   41396,   2250},
		{11578,   41279,   2250},
		{12041,   41156,   2250},
		{12505,   41046,   2267},
		{12968,   40933,   2275},
		{13431,   40822,   2286},
		{13894,   40721,   2324},
		{14357,   40613,   2344},
		{14820,   40505,   2377},
		{15283,   40398,   2408},
		{15746,   40291,   2423},
		{16210,   40175,   2404},
		{16673,   40071,   2415},
		{17136,   39967,   2416},
		{17599,   39859,   2396},
		{18062,   39751,   2377},
		{18525,   39636,   2340},
		{18988,   39506,   2279},
		{19452,   39370,   2196},
		{19915,   39239,   2099},
		{20378,   39125,   2042},
		{20841,   39020,   1998},
		{21304,   38929,   1975},
		{21767,   38852,   1975},
		{22230,   38775,   1975},
		{22693,   38704,   1959},
		{23157,   38638,   1950},
		{23620,   38578,   1954},
		{24083,   38524,   1973},
		{24546,   38470,   1993},
		{25009,   38417,   2000},
		{25472,   38363,   2000},
		{25935,   38309,   2000},
		{26398,   38263,   2020},
		{26862,   38217,   2025},
		{27325,   38174,   2033},
		{27788,   38135,   2052},
		{28251,   38097,   2072},
		{28714,   38058,   2075},
		{29177,   38019,   2075},
		{29640,   37983,   2080},
		{30104,   37952,   2099},
		{30567,   37921,   2118},
		{31030,   37891,   2125},
		{31493,   37860,   2125},
		{31956,   37829,   2126},
		{32419,   37806,   2145},
		{32882,   37783,   2164},
		{33345,   37756,   2184},
		{33809,   37724,   2197},
		{34272,   37686,   2178},
		{34735,   37647,   2208},
		{35198,   37605,   2236},
		{35661,   37561,   2264},
		{36124,   37522,   2322},
		{36587,   37476,   2380},
		{37051,   37420,   2425},
		{37514,   37355,   2470},
		{37977,   37286,   2531},
		{38440,   37225,   2627},
		{38903,   37151,   2724},
		{39366,   37074,   2820},
		{39829,   37001,   2920},
		{40292,   36947,   3036},
		{40756,   36913,   3183},
		{41219,   36887,   3390},
		{41682,   36862,   3666},
		{42145,   36831,   4014},
		{42608,   36748,   4454},
		{43071,   36575,   4937},
		{43534,   36263,   5468},
		{43997,   35771,   6109},
		{44461,   35046,   7460},
		{44924,   33932,   10554},
		{45387,   32305,   10838},
		{45850,   30510,   6300},
	},
	{
		{0,	     43030, 1900 },
		{301,    42880, 2100 },
		{601,	   42770, 2200 },
		{902,	   42649, 2225 },
		{1202,	 42519, 2200 },
		{1503,	 42409, 2225 },
		{1804,	 42299, 2225 },
		{2104,	 42179, 2225 },
		{2405,	 42078, 2250 },
		{2705,	 41978, 2250 },
		{3006,	 41868, 2275 },
		{3307,	 41748, 2276 },
		{3607,	 41648, 2301 },
		{3908,	 41557, 2325 },
		{4208,	 41447, 2326 },
		{4509,	 41337, 2351 },
		{4810,	 41233, 2375 },
		{5110,	 41123, 2375 },
		{5411,	 41023, 2375 },
		{5712,	 40925, 2377 },
		{6012,	 40856, 2404 },
		{6313,	 40796, 2458 },
		{6613,	 40742, 2550 },
		{6914,	 40639, 2546 },
		{7215,	 40494, 2498 },
		{7515,	 40307, 2475 },
		{7816,	 40150, 2479 },
		{8116,	 40029, 2523 },
		{8417,	 39913, 2504 },
		{8718,	 39835, 2555 },
		{9018,	 39785, 2598 },
		{9319,	 39733, 2577 },
		{9619,	 39665, 2600 },
		{9920,	 39610, 2598 },
		{10221,  39510, 2567 },
		{10521,  39408, 2492 },
		{10822,  39287, 2414 },
		{11122,  39168, 2320 },
		{11423,  39060, 2272 },
		{11724,  38972, 2253 },
		{12024,  38900, 2266 },
		{12325,  38813, 2203 },
		{12625,  38754, 2228 },
		{12926,  38700, 2241 },
		{13227,  38625, 2181 },
		{13527,  38583, 2225 },
		{13828,  38525, 2231 },
		{14128,  38485, 2278 },
		{14429,  38442, 2292 },
		{14730,  38392, 2242 },
		{15030,  38345, 2217 },
		{15331,  38313, 2300 },
		{15632,  38270, 2291 },
		{15932,  38215, 2259 },
		{16233,  38186, 2309 },
		{16533,  38163, 2346 },
		{16834,  38125, 2325 },
		{17135,  38093, 2325 },
		{17435,  38054, 2330 },
		{17736,  38024, 2345 },
		{18036,  37994, 2334 },
		{18337,  37966, 2375 },
		{18638,  37942, 2380 },
		{18938,  37906, 2395 },
		{19239,  37884, 2375 },
		{19539,  37858, 2385 },
		{19840,  37840, 2410 },
		{20141,  37798, 2355 },
		{20441,  37784, 2385 },
		{20742,  37754, 2415 },
		{21042,  37720, 2375 },
		{21343,  37676, 2375 },
		{21644,  37652, 2375 },
		{21944,  37611, 2370 },
		{22245,  37576, 2366 },
		{22545,  37549, 2420 },
		{22846,  37499, 2400 },
		{23147,  37449, 2411 },
		{23447,  37398, 2444 },
		{23748,  37347, 2444 },
		{24048,  37292, 2480 },
		{24349,  37222, 2432 },
		{24650,  37149, 2450 },
		{24950,  37077, 2463 },
		{25251,  37032, 2493 },
		{25552,  37013, 2509 },
		{25852,  37012, 2593 },
		{26153,  36990, 2616 },
		{26453,  36982, 2732 },
		{26754,  36949, 2806 },
		{27055,  36869, 2943 },
		{27355,  36626, 2918 },
		{27656,  36188, 2943 },
		{27956,  35608, 3108 },
		{28257,  34814, 3337 },
		{28558,  33483, 4112 },
		{28858,  30540, 11925},
		{29159,  30540, 11925},
		{29459,  30540, 11925},
		{29760,  30540, 11925}
	}

};

/* T3 */
struct FUELGAUGE_PROFILE_STRUCT fg_profile_t3[TOTAL_BATTERY_NUMBER][100] = {
	{
		{0,       44190,   2630},
		{455,     44061,   2626},
		{911,     43948,   2638},
		{1366,    43841,   2643},
		{1821,    43735,   2626},
		{2276,    43637,   2645},
		{2732,    43533,   2636},
		{3187,    43426,   2625},
		{3642,    43319,   2625},
		{4097,    43206,   2625},
		{4553,    43092,   2610},
		{5008,    42975,   2591},
		{5463,    42853,   2575},
		{5918,    42732,   2575},
		{6374,    42610,   2559},
		{6829,    42489,   2651},
		{7284,    42369,   2848},
		{7739,    42248,   2620},
		{8195,    42126,   2537},
		{8650,    42005,   2525},
		{9105,    41884,   2525},
		{9560,    41770,   2525},
		{10016,   41651,   2525},
		{10471,   41532,   2533},
		{10926,   41418,   2552},
		{11381,   41305,   2571},
		{11837,   41191,   2575},
		{12292,   41081,   2584},
		{12747,   40974,   2603},
		{13202,   40868,   2622},
		{13658,   40762,   2641},
		{14113,   40657,   2669},
		{14568,   40552,   2707},
		{15023,   40446,   2744},
		{15479,   40333,   2766},
		{15934,   40223,   2775},
		{16389,   40117,   2775},
		{16844,   40011,   2775},
		{17300,   39898,   2724},
		{17755,   39784,   2678},
		{18210,   39666,   2635},
		{18665,   39537,   2578},
		{19121,   39408,   2503},
		{19576,   39289,   2451},
		{20031,   39177,   2407},
		{20486,   39071,   2350},
		{20942,   38987,   2350},
		{21397,   38904,   2337},
		{21852,   38826,   2325},
		{22307,   38757,   2324},
		{22763,   38689,   2305},
		{23218,   38626,   2314},
		{23673,   38569,   2333},
		{24128,   38516,   2350},
		{24584,   38462,   2350},
		{25039,   38409,   2365},
		{25494,   38356,   2375},
		{25949,   38304,   2377},
		{26405,   38259,   2396},
		{26860,   38213,   2400},
		{27315,   38171,   2409},
		{27770,   38133,   2428},
		{28226,   38096,   2447},
		{28681,   38058,   2466},
		{29136,   38024,   2485},
		{29591,   37992,   2504},
		{30047,   37954,   2523},
		{30502,   37923,   2525},
		{30957,   37893,   2536},
		{31412,   37864,   2555},
		{31868,   37842,   2574},
		{32323,   37819,   2593},
		{32778,   37796,   2612},
		{33233,   37771,   2631},
		{33689,   37741,   2650},
		{34144,   37703,   2668},
		{34599,   37660,   2687},
		{35054,   37615,   2713},
		{35510,   37569,   2751},
		{35965,   37524,   2808},
		{36420,   37467,   2865},
		{36875,   37401,   2929},
		{37331,   37326,   3006},
		{37786,   37265,   3101},
		{38241,   37193,   3210},
		{38696,   37107,   3316},
		{39152,   37015,   3417},
		{39607,   36969,   3569},
		{40062,   36936,   3736},
		{40517,   36906,   3934},
		{40973,   36874,   4170},
		{41428,   36836,   4455},
		{41883,   36773,   4846},
		{42338,   36595,   5250},
		{42794,   36262,   5718},
		{43249,   35731,   6496},
		{43704,   34983,   7881},
		{44159,   33953,   10709},
		{44615,   32462,   11222},
		{45070,   30730,   6900}
	},
	{
		{0,       44160,   4950},
		{459,     44015,   4950},
		{918,     43885,   5003},
		{1378,    43763,   5043},
		{1837,    43640,   5022},
		{2296,    43518,   4984},
		{2755,    43401,   4975},
		{3214,    43283,   4966},
		{3674,    43160,   4947},
		{4133,    43038,   4928},
		{4592,    42909,   4876},
		{5051,    42783,   4829},
		{5510,    42661,   4795},
		{5969,    42538,   4776},
		{6429,    42409,   4739},
		{6888,    42278,   4961},
		{7347,    42149,   5198},
		{7806,    42027,   4739},
		{8265,    41911,   4659},
		{8725,    41792,   4639},
		{9184,    41672,   4625},
		{9643,    41557,   4625},
		{10102,   41435,   4589},
		{10561,   41317,   4575},
		{11021,   41202,   4569},
		{11480,   41088,   4550},
		{11939,   40973,   4530},
		{12398,   40869,   4566},
		{12857,   40766,   4608},
		{13317,   40658,   4625},
		{13776,   40544,   4625},
		{14235,   40423,   4610},
		{14694,   40304,   4591},
		{15153,   40191,   4572},
		{15613,   40083,   4552},
		{16072,   39970,   4500},
		{16531,   39859,   4464},
		{16990,   39750,   4435},
		{17449,   39635,   4378},
		{17908,   39519,   4338},
		{18368,   39398,   4274},
		{18827,   39278,   4204},
		{19286,   39164,   4149},
		{19745,   39057,   4130},
		{20204,   38961,   4096},
		{20664,   38869,   4075},
		{21123,   38781,   4078},
		{21582,   38712,   4097},
		{22041,   38643,   4100},
		{22500,   38574,   4110},
		{22960,   38508,   4133},
		{23419,   38455,   4172},
		{23878,   38394,   4175},
		{24337,   38338,   4187},
		{24796,   38286,   4217},
		{25256,   38240,   4274},
		{25715,   38195,   4294},
		{26174,   38149,   4313},
		{26633,   38106,   4347},
		{27092,   38067,   4403},
		{27552,   38029,   4441},
		{28011,   37991,   4465},
		{28470,   37956,   4492},
		{28929,   37928,   4537},
		{29388,   37912,   4613},
		{29847,   37891,   4673},
		{30307,   37868,   4731},
		{30766,   37846,   4801},
		{31225,   37831,   4916},
		{31684,   37809,   5013},
		{32143,   37786,   5121},
		{32603,   37763,   5248},
		{33062,   37740,   5401},
		{33521,   37709,   5554},
		{33980,   37673,   5720},
		{34439,   37632,   5892},
		{34899,   37586,   6068},
		{35358,   37540,   6278},
		{35817,   37488,   6507},
		{36276,   37430,   6748},
		{36735,   37367,   7003},
		{37195,   37298,   7290},
		{37654,   37223,   7594},
		{38113,   37151,   7944},
		{38572,   37084,   8342},
		{39031,   37022,   8782},
		{39491,   36961,   9351},
		{39950,   36910,   10012},
		{40409,   36861,   10780},
		{40868,   36808,   11660},
		{41327,   36754,   12540},
		{41786,   36678,   13294},
		{42246,   36565,   13896},
		{42705,   36399,   14371},
		{43164,   36139,   14964},
		{43623,   35698,   16241},
		{44082,   35095,   17490},
		{44542,   34141,   15512},
		{45001,   33830,   14625},
		{45460,   33830,   14625},
	},
	{
		{0,       44210,   4780},
		{463,     44063,   4776},
		{926,     43928,   4802},
		{1389,    43803,   4817},
		{1853,    43687,   4798},
		{2316,    43571,   4779},
		{2779,    43457,   4775},
		{3242,    43338,   4756},
		{3705,    43215,   4717},
		{4168,    43091,   4678},
		{4631,    42975,   4657},
		{5094,    42849,   4614},
		{5558,    42721,   4569},
		{6021,    42597,   4549},
		{6484,    42474,   4511},
		{6947,    42346,   4760},
		{7410,    42218,   4910},
		{7873,    42094,   4466},
		{8336,    41978,   4431},
		{8799,    41857,   4399},
		{9263,    41737,   4375},
		{9726,    41621,   4374},
		{10189,   41499,   4355},
		{10652,   41382,   4350},
		{11115,   41266,   4341},
		{11578,   41150,   4325},
		{12041,   41035,   4325},
		{12505,   40926,   4325},
		{12968,   40818,   4336},
		{13431,   40709,   4361},
		{13894,   40601,   4399},
		{14357,   40486,   4400},
		{14820,   40370,   4387},
		{15283,   40252,   4352},
		{15746,   40131,   4298},
		{16210,   40023,   4279},
		{16673,   39915,   4245},
		{17136,   39804,   4206},
		{17599,   39689,   4171},
		{18062,   39581,   4152},
		{18525,   39459,   4081},
		{18988,   39336,   4004},
		{19452,   39217,   3938},
		{19915,   39109,   3900},
		{20378,   39003,   3862},
		{20841,   38906,   3837},
		{21304,   38819,   3825},
		{21767,   38743,   3827},
		{22230,   38673,   3846},
		{22693,   38604,   3850},
		{23157,   38538,   3860},
		{23620,   38477,   3879},
		{24083,   38415,   3898},
		{24546,   38360,   3918},
		{25009,   38307,   3937},
		{25472,   38256,   3962},
		{25935,   38209,   4000},
		{26398,   38163,   4020},
		{26862,   38122,   4053},
		{27325,   38084,   4091},
		{27788,   38045,   4130},
		{28251,   38007,   4168},
		{28714,   37968,   4191},
		{29177,   37938,   4231},
		{29640,   37914,   4289},
		{30104,   37891,   4347},
		{30567,   37876,   4404},
		{31030,   37856,   4473},
		{31493,   37835,   4557},
		{31956,   37819,   4654},
		{32419,   37804,   4770},
		{32882,   37777,   4871},
		{33345,   37746,   4985},
		{33809,   37715,   5126},
		{34272,   37685,   5299},
		{34735,   37647,   5457},
		{35198,   37600,   5620},
		{35661,   37549,   5806},
		{36124,   37503,   6037},
		{36587,   37442,   6250},
		{37051,   37380,   6513},
		{37514,   37315,   6802},
		{37977,   37246,   7094},
		{38440,   37168,   7422},
		{38903,   37097,   7794},
		{39366,   37028,   8216},
		{39829,   36961,   8702},
		{40292,   36907,   9301},
		{40756,   36860,   10040},
		{41219,   36814,   10882},
		{41682,   36764,   11804},
		{42145,   36702,   12769},
		{42608,   36595,   13509},
		{43071,   36420,   14100},
		{43534,   36139,   14745},
		{43997,   35718,   15706},
		{44461,   35063,   17662},
		{44924,   34083,   15326},
		{45387,   33790,   14575},
		{45850,   33790,   14575},
	},
	{
		{0,	     42730, 2575 },
		{301,	   42550, 3300 },
		{601,	   42409, 3375 },
		{902,	   42269, 3475 },
		{1202,	 42159, 3526 },
		{1503,	 42059, 3600 },
		{1804,	 41949, 3601 },
		{2104,	 41848, 3675 },
		{2405,	 41738, 3700 },
		{2705,	 41638, 3725 },
		{3006,	 41538, 3750 },
		{3307,	 41418, 3751 },
		{3607,	 41318, 3801 },
		{3908,	 41217, 3825 },
		{4208,	 41107, 3826 },
		{4509,	 41017, 3851 },
		{4810,	 40926, 3875 },
		{5110,	 40868, 3885 },
		{5411,	 40834, 4028 },
		{5712,	 40749, 4070 },
		{6012,	 40587, 4002 },
		{6313,	 40414, 4021 },
		{6613,	 40208, 3975 },
		{6914,	 40060, 3973 },
		{7215,	 39932, 3954 },
		{7515,	 39833, 4002 },
		{7816,	 39753, 4025 },
		{8116,	 39676, 4027 },
		{8417,	 39624, 4050 },
		{8718,	 39554, 4048 },
		{9018,	 39490, 4018 },
		{9319,	 39381, 3948 },
		{9619,	 39289, 3918 },
		{9920,	 39179, 3840 },
		{10221,  39072, 3750 },
		{10521,  38991, 3747 },
		{10822,  38903, 3725 },
		{11122,  38832, 3714 },
		{11423,  38763, 3633 },
		{11724,  38706, 3706 },
		{12024,  38663, 3750 },
		{12325,  38604, 3747 },
		{12625,  38554, 3728 },
		{12926,  38503, 3753 },
		{13227,  38445, 3778 },
		{13527,  38405, 3803 },
		{13828,  38364, 3819 },
		{14128,  38316, 3785 },
		{14429,  38282, 3850 },
		{14730,  38235, 3858 },
		{15030,  38203, 3896 },
		{15331,  38165, 3883 },
		{15632,  38133, 3929 },
		{15932,  38095, 3950 },
		{16233,  38065, 3959 },
		{16533,  38033, 3991 },
		{16834,  37996, 3959 },
		{17135,  37975, 4005 },
		{17435,  37946, 4030 },
		{17736,  37924, 4050 },
		{18036,  37896, 4059 },
		{18337,  37876, 4109 },
		{18638,  37852, 4140 },
		{18938,  37818, 4105 },
		{19239,  37804, 4120 },
		{19539,  37776, 4105 },
		{19840,  37752, 4125 },
		{20141,  37714, 4120 },
		{20441,  37684, 4110 },
		{20742,  37658, 4155 },
		{21042,  37642, 4170 },
		{21343,  37599, 4150 },
		{21644,  37554, 4166 },
		{21944,  37517, 4225 },
		{22245,  37457, 4236 },
		{22545,  37397, 4275 },
		{22846,  37339, 4292 },
		{23147,  37284, 4350 },
		{23447,  37211, 4356 },
		{23748,  37134, 4381 },
		{24048,  37087, 4433 },
		{24349,  37075, 4538 },
		{24650,  37055, 4615 },
		{24950,  37037, 4772 },
		{25251,  37022, 4934 },
		{25552,  36984, 5079 },
		{25852,  36896, 5266 },
		{26153,  36678, 5396 },
		{26453,  36268, 5526 },
		{26754,  35713, 5844 },
		{27055,  34954, 6319 },
		{27355,  33750, 7523 },
		{27656,  31528, 13715},
		{27956,  29540, 9925 },
		{28257,  29540, 9925 },
		{28558,  29540, 9925 },
		{28858,  29540, 9925 },
		{29159,  29540, 9925 },
		{29459,  29540, 9925 },
		{29760,  29540, 9925 }
	}

};

/* T4 */
struct FUELGAUGE_PROFILE_STRUCT fg_profile_t4[TOTAL_BATTERY_NUMBER][100] = {
	{
		{0,       44220,   4730},
		{455,     44061,   4726},
		{911,     43922,   4751},
		{1366,    43799,   4768},
		{1821,    43685,   4750},
		{2276,    43571,   4750},
		{2732,    43457,   4736},
		{3187,    43343,   4725},
		{3642,    43229,   4720},
		{4097,    43107,   4663},
		{4553,    42992,   4635},
		{5008,    42878,   4616},
		{5463,    42763,   4597},
		{5918,    42642,   4578},
		{6374,    42520,   4559},
		{6829,    42399,   4701},
		{7284,    42279,   4997},
		{7739,    42158,   4617},
		{8195,    42041,   4500},
		{8650,    41928,   4500},
		{9105,    41813,   4499},
		{9560,    41692,   4480},
		{10016,   41576,   4475},
		{10471,   41462,   4475},
		{10926,   41348,   4475},
		{11381,   41235,   4475},
		{11837,   41121,   4475},
		{12292,   41011,   4484},
		{12747,   40905,   4508},
		{13202,   40807,   4565},
		{13658,   40696,   4591},
		{14113,   40579,   4610},
		{14568,   40459,   4622},
		{15023,   40338,   4603},
		{15479,   40216,   4584},
		{15934,   40095,   4545},
		{16389,   39974,   4492},
		{16844,   39852,   4454},
		{17300,   39731,   4382},
		{17755,   39614,   4328},
		{18210,   39500,   4290},
		{18665,   39386,   4252},
		{19121,   39280,   4214},
		{19576,   39173,   4176},
		{20031,   39072,   4150},
		{20486,   38981,   4150},
		{20942,   38897,   4150},
		{21397,   38819,   4150},
		{21852,   38743,   4143},
		{22307,   38668,   4126},
		{22763,   38607,   4164},
		{23218,   38546,   4189},
		{23673,   38486,   4208},
		{24128,   38426,   4227},
		{24584,   38372,   4246},
		{25039,   38319,   4279},
		{25494,   38270,   4309},
		{25949,   38224,   4330},
		{26405,   38179,   4368},
		{26860,   38139,   4406},
		{27315,   38097,   4434},
		{27770,   38055,   4457},
		{28226,   38025,   4494},
		{28681,   37995,   4548},
		{29136,   37964,   4585},
		{29591,   37935,   4611},
		{30047,   37913,   4668},
		{30502,   37897,   4742},
		{30957,   37881,   4818},
		{31412,   37864,   4898},
		{31868,   37842,   4993},
		{32323,   37819,   5070},
		{32778,   37796,   5170},
		{33233,   37771,   5278},
		{33689,   37741,   5373},
		{34144,   37703,   5504},
		{34599,   37665,   5625},
		{35054,   37625,   5751},
		{35510,   37579,   5904},
		{35965,   37518,   6074},
		{36420,   37452,   6245},
		{36875,   37381,   6423},
		{37331,   37305,   6615},
		{37786,   37237,   6843},
		{38241,   37157,   7085},
		{38696,   37071,   7348},
		{39152,   36983,   7637},
		{39607,   36922,   7959},
		{40062,   36880,   8342},
		{40517,   36842,   8804},
		{40973,   36804,   9362},
		{41428,   36766,   10064},
		{41883,   36703,   11007},
		{42338,   36544,   12243},
		{42794,   36244,   14015},
		{43249,   35720,   17088},
		{43704,   35063,   17701},
		{44159,   34190,   15570},
		{44615,   34190,   15550},
		{45070,   34190,   15550}
	},
	{
		{0,       44200,   10380},
		{459,     44024,   10376},
		{918,     43859,   10494},
		{1378,    43695,   10578},
		{1837,    43527,   10520},
		{2296,    43366,   10463},
		{2755,    43212,   10376},
		{3214,    43059,   10280},
		{3674,    42907,   10185},
		{4133,    42761,   10089},
		{4592,    42622,   9977},
		{5051,    42485,   9873},
		{5510,    42347,   9777},
		{5969,    42209,   9681},
		{6429,    42079,   9621},
		{6888,    41944,   9901},
		{7347,    41811,   10184},
		{7806,    41696,   9496},
		{8265,    41575,   9318},
		{8725,    41456,   9243},
		{9184,    41342,   9186},
		{9643,    41227,   9128},
		{10102,   41112,   9071},
		{10561,   41007,   9038},
		{11021,   40902,   9012},
		{11480,   40788,   8974},
		{11939,   40673,   8936},
		{12398,   40547,   8857},
		{12857,   40420,   8777},
		{13317,   40298,   8715},
		{13776,   40175,   8620},
		{14235,   40065,   8570},
		{14694,   39954,   8513},
		{15153,   39843,   8447},
		{15613,   39751,   8427},
		{16072,   39646,   8375},
		{16531,   39543,   8339},
		{16990,   39442,   8310},
		{17449,   39335,   8253},
		{17908,   39233,   8231},
		{18368,   39133,   8199},
		{18827,   39037,   8168},
		{19286,   38945,   8149},
		{19745,   38853,   8130},
		{20204,   38773,   8125},
		{20664,   38699,   8142},
		{21123,   38630,   8175},
		{21582,   38553,   8175},
		{22041,   38489,   8207},
		{22500,   38432,   8245},
		{22960,   38378,   8283},
		{23419,   38325,   8322},
		{23878,   38271,   8360},
		{24337,   38222,   8398},
		{24796,   38179,   8448},
		{25256,   38140,   8524},
		{25715,   38102,   8582},
		{26174,   38074,   8665},
		{26633,   38048,   8754},
		{27092,   38019,   8833},
		{27552,   38004,   8948},
		{28011,   37982,   9048},
		{28470,   37960,   9161},
		{28929,   37938,   9298},
		{29388,   37922,   9451},
		{29847,   37901,   9636},
		{30307,   37878,   9818},
		{30766,   37855,   9999},
		{31225,   37832,   10209},
		{31684,   37809,   10437},
		{32143,   37786,   10667},
		{32603,   37760,   10902},
		{33062,   37730,   11151},
		{33521,   37699,   11400},
		{33980,   37663,   11648},
		{34439,   37628,   11897},
		{34899,   37596,   12144},
		{35358,   37550,   12374},
		{35817,   37498,   12607},
		{36276,   37444,   12819},
		{36735,   37389,   13011},
		{37195,   37327,   13202},
		{37654,   37266,   13393},
		{38113,   37201,   13585},
		{38572,   37132,   13776},
		{39031,   37063,   13967},
		{39491,   36994,   14177},
		{39950,   36935,   14400},
		{40409,   36887,   14669},
		{40868,   36849,   15018},
		{41327,   36818,   15477},
		{41786,   36788,   16147},
		{42246,   36741,   17097},
		{42705,   36654,   18442},
		{43164,   36432,   20679},
		{43623,   36008,   20089},
		{44082,   35353,   18472},
		{44542,   35340,   18375},
		{45001,   35340,   18375},
		{45460,   35340,   18375}
	},
	{
		{0,       44250,   10250},
		{463,     44072,   10250},
		{926,     43906,   10345},
		{1389,    43744,   10401},
		{1853,    43582,   10339},
		{2316,    43420,   10243},
		{2779,    43266,   10147},
		{3242,    43117,   10052},
		{3705,    42970,   9955},
		{4168,    42823,   9859},
		{4631,    42677,   9745},
		{5094,    42539,   9629},
		{5558,    42406,   9525},
		{6021,    42267,   9448},
		{6484,    42136,   9371},
		{6947,    42001,   9684},
		{7410,    41870,   9845},
		{7873,    41754,   9150},
		{8336,    41631,   9051},
		{8799,    41513,   8986},
		{9263,    41394,   8921},
		{9726,    41272,   8846},
		{10189,   41166,   8789},
		{10652,   41058,   8746},
		{11115,   40953,   8725},
		{11578,   40849,   8715},
		{12041,   40726,   8657},
		{12505,   40602,   8599},
		{12968,   40479,   8530},
		{13431,   40355,   8453},
		{13894,   40232,   8376},
		{14357,   40116,   8318},
		{14820,   40005,   8260},
		{15283,   39898,   8202},
		{15746,   39792,   8147},
		{16210,   39692,   8108},
		{16673,   39591,   8085},
		{17136,   39487,   8037},
		{17599,   39381,   7971},
		{18062,   39280,   7952},
		{18525,   39180,   7933},
		{18988,   39080,   7902},
		{19452,   38982,   7869},
		{19915,   38889,   7850},
		{20378,   38806,   7831},
		{20841,   38727,   7838},
		{21304,   38652,   7858},
		{21767,   38583,   7877},
		{22230,   38513,   7896},
		{22693,   38450,   7931},
		{23157,   38392,   7970},
		{23620,   38338,   8008},
		{24083,   38284,   8047},
		{24546,   38237,   8085},
		{25009,   38192,   8136},
		{25472,   38148,   8193},
		{25935,   38110,   8251},
		{26398,   38079,   8328},
		{26862,   38053,   8419},
		{27325,   38027,   8507},
		{27788,   37998,   8589},
		{28251,   37983,   8705},
		{28714,   37961,   8837},
		{29177,   37942,   8972},
		{29640,   37924,   9112},
		{30104,   37901,   9266},
		{30567,   37886,   9436},
		{31030,   37866,   9633},
		{31493,   37842,   9845},
		{31956,   37819,   10058},
		{32419,   37796,   10290},
		{32882,   37767,   10535},
		{33345,   37736,   10786},
		{33809,   37705,   11040},
		{34272,   37675,   11310},
		{34735,   37637,   11564},
		{35198,   37599,   11812},
		{35661,   37559,   12060},
		{36124,   37513,   12311},
		{36587,   37459,   12544},
		{37051,   37400,   12750},
		{37514,   37338,   12943},
		{37977,   37276,   13136},
		{38440,   37207,   13329},
		{38903,   37137,   13522},
		{39366,   37068,   13724},
		{39829,   36998,   13933},
		{40292,   36929,   14126},
		{40756,   36887,   14399},
		{41219,   36853,   14741},
		{41682,   36822,   15172},
		{42145,   36791,   15732},
		{42608,   36745,   16609},
		{43071,   36652,   17989},
		{43534,   36455,   19782},
		{43997,   36035,   20125},
		{44461,   35386,   18673},
		{44924,   35370,   18675},
		{45387,   35370,   18675},
		{45850,   35370,   18675},
	},
	{
		{0,	     42420, 9500 },
		{301,	   42210, 5801 },
		{601,	   41979, 6176 },
		{902,	   41699, 6529 },
		{1202,	 41529, 7252 },
		{1503,	 41379, 7451 },
		{1804,	 41259, 7577 },
		{2104,	 41139, 7749 },
		{2405,	 41039, 7702 },
		{2705,	 40969, 7851 },
		{3006,	 40899, 7927 },
		{3307,	 40838, 8002 },
		{3607,	 40746, 8100 },
		{3908,	 40595, 8099 },
		{4208,	 40404, 8075 },
		{4509,	 40204, 8073 },
		{4810,	 40021, 8025 },
		{5110,	 39893, 8028 },
		{5411,	 39783, 8078 },
		{5712,	 39684, 8120 },
		{6012,	 39604, 8056 },
		{6313,	 39525, 8127 },
		{6613,	 39455, 8156 },
		{6914,	 39394, 8221 },
		{7215,	 39313, 8169 },
		{7515,	 39222, 8100 },
		{7816,	 39122, 8094 },
		{8116,	 39034, 8023 },
		{8417,	 38962, 7998 },
		{8718,	 38874, 7975 },
		{9018,	 38803, 7973 },
		{9319,	 38735, 7960 },
		{9619,	 38685, 8052 },
		{9920,	 38634, 8078 },
		{10221,  38574, 8085 },
		{10521,  38516, 7963 },
		{10822,  38474, 8080 },
		{11122,  38415, 8136 },
		{11423,  38366, 8225 },
		{11724,  38328, 8228 },
		{12024,  38304, 8253 },
		{12325,  38254, 8281 },
		{12625,  38205, 8322 },
		{12926,  38168, 8312 },
		{13227,  38145, 8403 },
		{13527,  38106, 8419 },
		{13828,  38075, 8381 },
		{14128,  38035, 8425 },
		{14429,  37997, 8433 },
		{14730,  37977, 8487 },
		{15030,  37957, 8554 },
		{15331,  37933, 8579 },
		{15632,  37898, 8600 },
		{15932,  37887, 8617 },
		{16233,  37865, 8696 },
		{16533,  37840, 8688 },
		{16834,  37835, 8759 },
		{17135,  37805, 8805 },
		{17435,  37774, 8825 },
		{17736,  37748, 8839 },
		{18036,  37734, 8919 },
		{18337,  37702, 9019 },
		{18638,  37664, 9100 },
		{18938,  37632, 9124 },
		{19239,  37590, 9240 },
		{19539,  37540, 9305 },
		{19840,  37490, 9340 },
		{20141,  37440, 9425 },
		{20441,  37386, 9551 },
		{20742,  37320, 9676 },
		{21042,  37265, 9822 },
		{21343,  37202, 10032},
		{21644,  37159, 10177},
		{21944,  37111, 10329},
		{22245,  37074, 10595},
		{22545,  37048, 10926},
		{22846,  37031, 11277},
		{23147,  36982, 11672},
		{23447,  36894, 12228},
		{23748,  36743, 12780},
		{24048,  36440, 13300},
		{24349,  35974, 13929},
		{24650,  35322, 14812},
		{24950,  34380, 16210},
		{25251,  32952, 17130},
		{25552,  31174, 13277},
		{25852,  30950, 13150},
		{26153,  30950, 13150},
		{26453,  30950, 13150},
		{26754,  30950, 13150},
		{27055,  30950, 13150},
		{27355,  30950, 13150},
		{27656,  30950, 13150},
		{27956,  30950, 13150},
		{28257,  30950, 13150},
		{28558,  30950, 13150},
		{28858,  30950, 13150},
		{29159,  30950, 13150},
		{29459,  30950, 13150},
		{29760,  30950, 13150}
	}

};

/* T5 */
struct FUELGAUGE_PROFILE_STRUCT fg_profile_t5[TOTAL_BATTERY_NUMBER][90] = {
	{
		{0, 42980, 5305},
		{336, 42832, 5300},
		{673, 42691, 5331},
		{1009, 42556, 5398},
		{1346, 42415, 5485},
		{1682, 42266, 5548},
		{2018, 42112, 5595},
		{2355, 41957, 5682},
		{2691, 41794, 5832},
		{3028, 41626, 6033},
		{3364, 41462, 6278},
		{3700, 41282, 6561},
		{4037, 41093, 6884},
		{4373, 40898, 7298},
		{4710, 40742, 7686},
		{5046, 40606, 8046},
		{5382, 40465, 8353},
		{5719, 40292, 8598},
		{6055, 40111, 8792},
		{6392, 39963, 8879},
		{6728, 39844, 9029},
		{7064, 39739, 9179},
		{7401, 39645, 9246},
		{7737, 39566, 9311},
		{8074, 39487, 9387},
		{8410, 39392, 9497},
		{8747, 39303, 9489},
		{9083, 39210, 9482},
		{9419, 39103, 9569},
		{9756, 38984, 9502},
		{10092, 38869, 9452},
		{10429, 38766, 9541},
		{10765, 38687, 9629},
		{11101, 38611, 9693},
		{11438, 38530, 9715},
		{11774, 38467, 9814},
		{12111, 38406, 9923},
		{12447, 38346, 10032},
		{12783, 38285, 10122},
		{13120, 38230, 10245},
		{13456, 38183, 10420},
		{13793, 38149, 10574},
		{14129, 38109, 10719},
		{14465, 38062, 10850},
		{14802, 38028, 11085},
		{15138, 37991, 11315},
		{15475, 37951, 11534},
		{15811, 37924, 11666},
		{16147, 37893, 11830},
		{16484, 37860, 12028},
		{16820, 37833, 12290},
		{17157, 37798, 12509},
		{17493, 37757, 12691},
		{17829, 37717, 12909},
		{18166, 37680, 13178},
		{18502, 37644, 13475},
		{18839, 37576, 13671},
		{19175, 37517, 13920},
		{19511, 37462, 14186},
		{19848, 37394, 14317},
		{20184, 37323, 14533},
		{20521, 37250, 14798},
		{20857, 37183, 15083},
		{21193, 37124, 15425},
		{21530, 37069, 15800},
		{21866, 37009, 16194},
		{22203, 36962, 16860},
		{22539, 36916, 17637},
		{22876, 36849, 18381},
		{23212, 36719, 19140},
		{23548, 36517, 19837},
		{23885, 36160, 20305},
		{24221, 35626, 20732},
		{24558, 35047, 21203},
		{24894, 34524, 21399},
		{25230, 34044, 19815},
		{25567, 32822, 15920},
		{25903, 31200, 11603},
		{26240, 31200, 11603},
		{26576, 31200, 11603},
		{26912, 31200, 11603},
		{27249, 31200, 11603},
		{27585, 31200, 11603},
		{27922, 31200, 11603},
		{28258, 31200, 11603},
		{28594, 31200, 11603},
		{28931, 31200, 11603},
		{29267, 31200, 11603},
		{29604, 31200, 11603},
		{29940, 31200, 11605}
	},
	{
		{0, 41760, 6890},
		{327, 41633, 5860},
		{653, 41533, 5925},
		{980, 41435, 5883},
		{1307, 41163, 5795},
		{1633, 40827, 6028},
		{1960, 40570, 6370},
		{2286, 40372, 6738},
		{2613, 40157, 7366},
		{2940, 39901, 8336},
		{3266, 39716, 9253},
		{3593, 39559, 9684},
		{3920, 39448, 9911},
		{4246, 39368, 9926},
		{4573, 39283, 10000},
		{4899, 39188, 9902},
		{5226, 39111, 10114},
		{5553, 39047, 10228},
		{5879, 38928, 10045},
		{6206, 38840, 10114},
		{6533, 38745, 10152},
		{6859, 38677, 10156},
		{7186, 38591, 10208},
		{7512, 38535, 10322},
		{7839, 38459, 10370},
		{8166, 38426, 10413},
		{8492, 38363, 10407},
		{8819, 38329, 10461},
		{9146, 38274, 10400},
		{9472, 38206, 10312},
		{9799, 38160, 10482},
		{10126, 38144, 10695},
		{10452, 38078, 10595},
		{10779, 38043, 10687},
		{11105, 38008, 10806},
		{11432, 37982, 10881},
		{11759, 37919, 14515},
		{12085, 37898, 14333},
		{12412, 37874, 15022},
		{12739, 37827, 15669},
		{13065, 37788, 15301},
		{13392, 37753, 11592},
		{13718, 37717, 11216},
		{14045, 37665, 11331},
		{14372, 37618, 11388},
		{14698, 37547, 11671},
		{15025, 37515, 12263},
		{15352, 37426, 12441},
		{15678, 37355, 12574},
		{16005, 37297, 12571},
		{16331, 37230, 12657},
		{16658, 37172, 12987},
		{16985, 37129, 13394},
		{17311, 37064, 13607},
		{17638, 37044, 13702},
		{17965, 36985, 14008},
		{18291, 36927, 13577},
		{18618, 36762, 12896},
		{18944, 36491, 13454},
		{19271, 36057, 13614},
		{19598, 35452, 16709},
		{19924, 34375, 13547},
		{20251, 32882, 16132},
		{20578, 31935, 13264},
		{20904, 30830, 12903},
		{21231, 30830, 12903},
		{21558, 30830, 12903},
		{21884, 30830, 12903},
		{22211, 30830, 12903},
		{22537, 30830, 12903},
		{22864, 30830, 12903},
		{23191, 30830, 12903},
		{23517, 30830, 12903},
		{23844, 30830, 12903},
		{24171, 30830, 12903},
		{24497, 30830, 12903},
		{24824, 30830, 12903},
		{25150, 30830, 12903},
		{25477, 30830, 12903},
		{25804, 30830, 12903},
		{26130, 30830, 12903},
		{26457, 30830, 12903},
		{26784, 30830, 12903},
		{27110, 30830, 12903},
		{27437, 30830, 12903},
		{27763, 30830, 12903},
		{28090, 30830, 12903},
		{28417, 30830, 12903},
		{28743, 30830, 12903},
		{29070, 30830, 12903}
	},
	{
		{0, 42950, 9653},
		{283, 42752, 9653},
		{567, 42580, 9941},
		{850, 42393, 10140},
		{1134, 42191, 10278},
		{1417, 41976, 10500},
		{1701, 41765, 10837},
		{1984, 41570, 11205},
		{2268, 41405, 11535},
		{2551, 41259, 11755},
		{2835, 41125, 11878},
		{3118, 41009, 11987},
		{3402, 40905, 12084},
		{3685, 40805, 12191},
		{3969, 40704, 12366},
		{4252, 40581, 12496},
		{4536, 40425, 12563},
		{4819, 40246, 12661},
		{5103, 40074, 12793},
		{5386, 39933, 12971},
		{5670, 39810, 13033},
		{5953, 39725, 13217},
		{6237, 39622, 13285},
		{6520, 39543, 13400},
		{6804, 39441, 13423},
		{7087, 39352, 13521},
		{7371, 39253, 13553},
		{7654, 39155, 13573},
		{7938, 39055, 13605},
		{8221, 38951, 13670},
		{8504, 38852, 13746},
		{8788, 38756, 13809},
		{9071, 38668, 13897},
		{9355, 38592, 14009},
		{9638, 38516, 14101},
		{9922, 38446, 14201},
		{10205, 38389, 14323},
		{10489, 38332, 14447},
		{10772, 38276, 14581},
		{11056, 38237, 14762},
		{11339, 38180, 14885},
		{11623, 38133, 15007},
		{11906, 38086, 15159},
		{12190, 38047, 15313},
		{12473, 38017, 15517},
		{12757, 37973, 15592},
		{13040, 37939, 15737},
		{13324, 37911, 15963},
		{13607, 37882, 16132},
		{13891, 37859, 16342},
		{14174, 37840, 16618},
		{14458, 37821, 16913},
		{14741, 37802, 17226},
		{15025, 37783, 17521},
		{15308, 37764, 17807},
		{15592, 37743, 18116},
		{15875, 37716, 18424},
		{16159, 37696, 18675},
		{16442, 37676, 18623},
		{16726, 37653, 18538},
		{17009, 37623, 18469},
		{17292, 37590, 18330},
		{17576, 37568, 18257},
		{17859, 37525, 18135},
		{18143, 37474, 17984},
		{18426, 37378, 17648},
		{18710, 33950, 6565},
		{18993, 33950, 6565},
		{19277, 33950, 6565},
		{19560, 33950, 6565},
		{19844, 33950, 6565},
		{20127, 33950, 6565},
		{20411, 33950, 6565},
		{20694, 33950, 6565},
		{20978, 33950, 6565},
		{21261, 33950, 6565},
		{21545, 33950, 6565},
		{21828, 33950, 6565},
		{22112, 33950, 6565},
		{22395, 33950, 6565},
		{22679, 33950, 6565},
		{22962, 33950, 6565},
		{23246, 33950, 6565},
		{23529, 33950, 6565},
		{23813, 33950, 6565},
		{24096, 33950, 6565},
		{24380, 33950, 6565},
		{24663, 33950, 6565},
		{24947, 33950, 6565},
		{25230, 33950, 6565}
	},
	{
		{0, 41600, 4323},
		{226, 41397, 4323},
		{451, 41219, 4503},
		{677, 41066, 4722},
		{903, 40939, 4844},
		{1129, 40841, 4917},
		{1354, 40743, 4957},
		{1580, 40640, 4989},
		{1806, 40527, 5039},
		{2032, 40402, 5090},
		{2257, 40286, 5139},
		{2483, 40177, 5197},
		{2709, 40072, 5265},
		{2934, 39974, 5265},
		{3160, 39888, 5301},
		{3386, 39814, 5351},
		{3612, 39753, 5398},
		{3837, 39686, 5422},
		{4063, 39618, 5446},
		{4289, 39554, 5481},
		{4515, 39491, 5528},
		{4740, 39408, 5552},
		{4966, 39343, 5595},
		{5192, 39276, 5600},
		{5418, 39200, 5558},
		{5643, 39114, 5558},
		{5869, 39031, 5558},
		{6095, 38940, 5495},
		{6320, 38842, 5378},
		{6546, 38745, 5279},
		{6772, 38660, 5203},
		{6998, 38585, 5181},
		{7223, 38516, 5195},
		{7449, 38440, 5171},
		{7675, 38378, 5104},
		{7901, 38322, 5083},
		{8126, 38272, 5108},
		{8352, 38235, 5132},
		{8578, 38197, 5156},
		{8803, 38151, 5168},
		{9029, 38102, 5168},
		{9255, 38064, 5168},
		{9481, 38033, 5210},
		{9706, 38003, 5261},
		{9932, 37976, 5311},
		{10158, 37961, 5360},
		{10384, 37932, 5386},
		{10609, 37911, 5425},
		{10835, 37891, 5460},
		{11061, 37861, 5460},
		{11287, 37838, 5483},
		{11512, 37825, 5508},
		{11738, 37813, 5525},
		{11964, 37791, 5525},
		{12189, 37783, 5573},
		{12415, 37775, 5637},
		{12641, 37768, 5695},
		{12867, 37760, 5720},
		{13092, 37753, 5793},
		{13318, 37735, 5802},
		{13544, 37710, 5801},
		{13770, 37680, 5850},
		{13995, 37649, 5850},
		{14221, 37613, 5885},
		{14447, 37573, 5924},
		{14672, 37526, 5950},
		{14898, 37459, 6000},
		{15124, 37391, 6031},
		{15350, 37320, 6054},
		{15575, 37244, 6079},
		{15801, 37162, 6104},
		{16027, 37107, 6146},
		{16253, 37065, 6235},
		{16478, 37027, 6380},
		{16704, 36989, 6503},
		{16930, 36969, 6735},
		{17156, 36950, 7086},
		{17381, 36923, 7565},
		{17607, 36845, 8172},
		{17833, 36629, 8783},
		{18058, 36254, 9699},
		{18284, 35714, 10777},
		{18510, 34970, 9881},
		{18736, 33949, 6565},
		{18961, 33940, 6565},
		{19187, 33940, 6565},
		{19413, 33940, 6565},
		{19639, 33940, 6565},
		{19864, 33940, 6565},
		{20090, 33940, 6565}
	}

};

/* T6 */
struct FUELGAUGE_PROFILE_STRUCT fg_profile_t6[TOTAL_BATTERY_NUMBER][90] = {
	{
		{0, 42980, 5306},
		{336, 42832, 5300},
		{673, 42691, 5331},
		{1009, 42556, 5398},
		{1346, 42415, 5485},
		{1682, 42266, 5548},
		{2018, 42112, 5595},
		{2355, 41957, 5682},
		{2691, 41794, 5832},
		{3028, 41626, 6033},
		{3364, 41462, 6278},
		{3700, 41282, 6561},
		{4037, 41093, 6884},
		{4373, 40898, 7298},
		{4710, 40742, 7686},
		{5046, 40606, 8046},
		{5382, 40465, 8353},
		{5719, 40292, 8598},
		{6055, 40111, 8792},
		{6392, 39963, 8879},
		{6728, 39844, 9029},
		{7064, 39739, 9179},
		{7401, 39645, 9246},
		{7737, 39566, 9311},
		{8074, 39487, 9387},
		{8410, 39392, 9497},
		{8747, 39303, 9489},
		{9083, 39210, 9482},
		{9419, 39103, 9569},
		{9756, 38984, 9502},
		{10092, 38869, 9452},
		{10429, 38766, 9541},
		{10765, 38687, 9629},
		{11101, 38611, 9693},
		{11438, 38530, 9715},
		{11774, 38467, 9814},
		{12111, 38406, 9923},
		{12447, 38346, 10032},
		{12783, 38285, 10122},
		{13120, 38230, 10245},
		{13456, 38183, 10420},
		{13793, 38149, 10574},
		{14129, 38109, 10719},
		{14465, 38062, 10850},
		{14802, 38028, 11085},
		{15138, 37991, 11315},
		{15475, 37951, 11534},
		{15811, 37924, 11666},
		{16147, 37893, 11830},
		{16484, 37860, 12028},
		{16820, 37833, 12290},
		{17157, 37798, 12509},
		{17493, 37757, 12691},
		{17829, 37717, 12909},
		{18166, 37680, 13178},
		{18502, 37644, 13475},
		{18839, 37576, 13671},
		{19175, 37517, 13920},
		{19511, 37462, 14186},
		{19848, 37394, 14317},
		{20184, 37323, 14533},
		{20521, 37250, 14798},
		{20857, 37183, 15083},
		{21193, 37124, 15425},
		{21530, 37069, 15800},
		{21866, 37009, 16194},
		{22203, 36962, 16860},
		{22539, 36916, 17637},
		{22876, 36849, 18381},
		{23212, 36719, 19140},
		{23548, 36517, 19837},
		{23885, 36160, 20305},
		{24221, 35626, 20732},
		{24558, 35047, 21203},
		{24894, 34524, 21399},
		{25230, 34044, 19815},
		{25567, 32822, 15920},
		{25903, 31200, 11603},
		{26240, 31200, 11603},
		{26576, 31200, 11603},
		{26912, 31200, 11603},
		{27249, 31200, 11603},
		{27585, 31200, 11603},
		{27922, 31200, 11603},
		{28258, 31200, 11603},
		{28594, 31200, 11603},
		{28931, 31200, 11603},
		{29267, 31200, 11603},
		{29604, 31200, 11603},
		{29940, 31200, 11606}
	},
	{
		{0, 41760, 6890},
		{327, 41633, 5860},
		{653, 41533, 5925},
		{980, 41435, 5883},
		{1307, 41163, 5795},
		{1633, 40827, 6028},
		{1960, 40570, 6370},
		{2286, 40372, 6738},
		{2613, 40157, 7366},
		{2940, 39901, 8336},
		{3266, 39716, 9253},
		{3593, 39559, 9684},
		{3920, 39448, 9911},
		{4246, 39368, 9926},
		{4573, 39283, 10000},
		{4899, 39188, 9902},
		{5226, 39111, 10114},
		{5553, 39047, 10228},
		{5879, 38928, 10045},
		{6206, 38840, 10114},
		{6533, 38745, 10152},
		{6859, 38677, 10156},
		{7186, 38591, 10208},
		{7512, 38535, 10322},
		{7839, 38459, 10370},
		{8166, 38426, 10413},
		{8492, 38363, 10407},
		{8819, 38329, 10461},
		{9146, 38274, 10400},
		{9472, 38206, 10312},
		{9799, 38160, 10482},
		{10126, 38144, 10695},
		{10452, 38078, 10595},
		{10779, 38043, 10687},
		{11105, 38008, 10806},
		{11432, 37982, 10881},
		{11759, 37919, 14515},
		{12085, 37898, 14333},
		{12412, 37874, 15022},
		{12739, 37827, 15669},
		{13065, 37788, 15301},
		{13392, 37753, 11592},
		{13718, 37717, 11216},
		{14045, 37665, 11331},
		{14372, 37618, 11388},
		{14698, 37547, 11671},
		{15025, 37515, 12263},
		{15352, 37426, 12441},
		{15678, 37355, 12574},
		{16005, 37297, 12571},
		{16331, 37230, 12657},
		{16658, 37172, 12987},
		{16985, 37129, 13394},
		{17311, 37064, 13607},
		{17638, 37044, 13702},
		{17965, 36985, 14008},
		{18291, 36927, 13577},
		{18618, 36762, 12896},
		{18944, 36491, 13454},
		{19271, 36057, 13614},
		{19598, 35452, 16709},
		{19924, 34375, 13547},
		{20251, 32882, 16132},
		{20578, 31935, 13264},
		{20904, 30830, 12903},
		{21231, 30830, 12903},
		{21558, 30830, 12903},
		{21884, 30830, 12903},
		{22211, 30830, 12903},
		{22537, 30830, 12903},
		{22864, 30830, 12903},
		{23191, 30830, 12903},
		{23517, 30830, 12903},
		{23844, 30830, 12903},
		{24171, 30830, 12903},
		{24497, 30830, 12903},
		{24824, 30830, 12903},
		{25150, 30830, 12903},
		{25477, 30830, 12903},
		{25804, 30830, 12903},
		{26130, 30830, 12903},
		{26457, 30830, 12903},
		{26784, 30830, 12903},
		{27110, 30830, 12903},
		{27437, 30830, 12903},
		{27763, 30830, 12903},
		{28090, 30830, 12903},
		{28417, 30830, 12903},
		{28743, 30830, 12903},
		{29070, 30830, 12903}
	},
	{
		{0, 42950, 9653},
		{283, 42752, 9653},
		{567, 42580, 9941},
		{850, 42393, 10140},
		{1134, 42191, 10278},
		{1417, 41976, 10500},
		{1701, 41765, 10837},
		{1984, 41570, 11205},
		{2268, 41405, 11535},
		{2551, 41259, 11755},
		{2835, 41125, 11878},
		{3118, 41009, 11987},
		{3402, 40905, 12084},
		{3685, 40805, 12191},
		{3969, 40704, 12366},
		{4252, 40581, 12496},
		{4536, 40425, 12563},
		{4819, 40246, 12661},
		{5103, 40074, 12793},
		{5386, 39933, 12971},
		{5670, 39810, 13033},
		{5953, 39725, 13217},
		{6237, 39622, 13285},
		{6520, 39543, 13400},
		{6804, 39441, 13423},
		{7087, 39352, 13521},
		{7371, 39253, 13553},
		{7654, 39155, 13573},
		{7938, 39055, 13605},
		{8221, 38951, 13670},
		{8504, 38852, 13746},
		{8788, 38756, 13809},
		{9071, 38668, 13897},
		{9355, 38592, 14009},
		{9638, 38516, 14101},
		{9922, 38446, 14201},
		{10205, 38389, 14323},
		{10489, 38332, 14447},
		{10772, 38276, 14581},
		{11056, 38237, 14762},
		{11339, 38180, 14885},
		{11623, 38133, 15007},
		{11906, 38086, 15159},
		{12190, 38047, 15313},
		{12473, 38017, 15517},
		{12757, 37973, 15592},
		{13040, 37939, 15737},
		{13324, 37911, 15963},
		{13607, 37882, 16132},
		{13891, 37859, 16342},
		{14174, 37840, 16618},
		{14458, 37821, 16913},
		{14741, 37802, 17226},
		{15025, 37783, 17521},
		{15308, 37764, 17807},
		{15592, 37743, 18116},
		{15875, 37716, 18424},
		{16159, 37696, 18675},
		{16442, 37676, 18623},
		{16726, 37653, 18538},
		{17009, 37623, 18469},
		{17292, 37590, 18330},
		{17576, 37568, 18257},
		{17859, 37525, 18135},
		{18143, 37474, 17984},
		{18426, 37378, 17648},
		{18710, 33950, 6565},
		{18993, 33950, 6565},
		{19277, 33950, 6565},
		{19560, 33950, 6565},
		{19844, 33950, 6565},
		{20127, 33950, 6565},
		{20411, 33950, 6565},
		{20694, 33950, 6565},
		{20978, 33950, 6565},
		{21261, 33950, 6565},
		{21545, 33950, 6565},
		{21828, 33950, 6565},
		{22112, 33950, 6565},
		{22395, 33950, 6565},
		{22679, 33950, 6565},
		{22962, 33950, 6565},
		{23246, 33950, 6565},
		{23529, 33950, 6565},
		{23813, 33950, 6565},
		{24096, 33950, 6565},
		{24380, 33950, 6565},
		{24663, 33950, 6565},
		{24947, 33950, 6565},
		{25230, 33950, 6565}
	},
	{
		{0, 41600, 4323},
		{226, 41397, 4323},
		{451, 41219, 4503},
		{677, 41066, 4722},
		{903, 40939, 4844},
		{1129, 40841, 4917},
		{1354, 40743, 4957},
		{1580, 40640, 4989},
		{1806, 40527, 5039},
		{2032, 40402, 5090},
		{2257, 40286, 5139},
		{2483, 40177, 5197},
		{2709, 40072, 5265},
		{2934, 39974, 5265},
		{3160, 39888, 5301},
		{3386, 39814, 5351},
		{3612, 39753, 5398},
		{3837, 39686, 5422},
		{4063, 39618, 5446},
		{4289, 39554, 5481},
		{4515, 39491, 5528},
		{4740, 39408, 5552},
		{4966, 39343, 5595},
		{5192, 39276, 5600},
		{5418, 39200, 5558},
		{5643, 39114, 5558},
		{5869, 39031, 5558},
		{6095, 38940, 5495},
		{6320, 38842, 5378},
		{6546, 38745, 5279},
		{6772, 38660, 5203},
		{6998, 38585, 5181},
		{7223, 38516, 5195},
		{7449, 38440, 5171},
		{7675, 38378, 5104},
		{7901, 38322, 5083},
		{8126, 38272, 5108},
		{8352, 38235, 5132},
		{8578, 38197, 5156},
		{8803, 38151, 5168},
		{9029, 38102, 5168},
		{9255, 38064, 5168},
		{9481, 38033, 5210},
		{9706, 38003, 5261},
		{9932, 37976, 5311},
		{10158, 37961, 5360},
		{10384, 37932, 5386},
		{10609, 37911, 5425},
		{10835, 37891, 5460},
		{11061, 37861, 5460},
		{11287, 37838, 5483},
		{11512, 37825, 5508},
		{11738, 37813, 5525},
		{11964, 37791, 5525},
		{12189, 37783, 5573},
		{12415, 37775, 5637},
		{12641, 37768, 5695},
		{12867, 37760, 5720},
		{13092, 37753, 5793},
		{13318, 37735, 5802},
		{13544, 37710, 5801},
		{13770, 37680, 5850},
		{13995, 37649, 5850},
		{14221, 37613, 5885},
		{14447, 37573, 5924},
		{14672, 37526, 5950},
		{14898, 37459, 6000},
		{15124, 37391, 6031},
		{15350, 37320, 6054},
		{15575, 37244, 6079},
		{15801, 37162, 6104},
		{16027, 37107, 6146},
		{16253, 37065, 6235},
		{16478, 37027, 6380},
		{16704, 36989, 6503},
		{16930, 36969, 6735},
		{17156, 36950, 7086},
		{17381, 36923, 7565},
		{17607, 36845, 8172},
		{17833, 36629, 8783},
		{18058, 36254, 9699},
		{18284, 35714, 10777},
		{18510, 34970, 9881},
		{18736, 33949, 6565},
		{18961, 33940, 6565},
		{19187, 33940, 6565},
		{19413, 33940, 6565},
		{19639, 33940, 6565},
		{19864, 33940, 6565},
		{20090, 33940, 6565}
	}

};

/* T7 */
struct FUELGAUGE_PROFILE_STRUCT fg_profile_t7[TOTAL_BATTERY_NUMBER][90] = {
	{
		{0, 42980, 5307},
		{336, 42832, 5300},
		{673, 42691, 5331},
		{1009, 42556, 5398},
		{1346, 42415, 5485},
		{1682, 42266, 5548},
		{2018, 42112, 5595},
		{2355, 41957, 5682},
		{2691, 41794, 5832},
		{3028, 41626, 6033},
		{3364, 41462, 6278},
		{3700, 41282, 6561},
		{4037, 41093, 6884},
		{4373, 40898, 7298},
		{4710, 40742, 7686},
		{5046, 40606, 8046},
		{5382, 40465, 8353},
		{5719, 40292, 8598},
		{6055, 40111, 8792},
		{6392, 39963, 8879},
		{6728, 39844, 9029},
		{7064, 39739, 9179},
		{7401, 39645, 9246},
		{7737, 39566, 9311},
		{8074, 39487, 9387},
		{8410, 39392, 9497},
		{8747, 39303, 9489},
		{9083, 39210, 9482},
		{9419, 39103, 9569},
		{9756, 38984, 9502},
		{10092, 38869, 9452},
		{10429, 38766, 9541},
		{10765, 38687, 9629},
		{11101, 38611, 9693},
		{11438, 38530, 9715},
		{11774, 38467, 9814},
		{12111, 38406, 9923},
		{12447, 38346, 10032},
		{12783, 38285, 10122},
		{13120, 38230, 10245},
		{13456, 38183, 10420},
		{13793, 38149, 10574},
		{14129, 38109, 10719},
		{14465, 38062, 10850},
		{14802, 38028, 11085},
		{15138, 37991, 11315},
		{15475, 37951, 11534},
		{15811, 37924, 11666},
		{16147, 37893, 11830},
		{16484, 37860, 12028},
		{16820, 37833, 12290},
		{17157, 37798, 12509},
		{17493, 37757, 12691},
		{17829, 37717, 12909},
		{18166, 37680, 13178},
		{18502, 37644, 13475},
		{18839, 37576, 13671},
		{19175, 37517, 13920},
		{19511, 37462, 14186},
		{19848, 37394, 14317},
		{20184, 37323, 14533},
		{20521, 37250, 14798},
		{20857, 37183, 15083},
		{21193, 37124, 15425},
		{21530, 37069, 15800},
		{21866, 37009, 16194},
		{22203, 36962, 16860},
		{22539, 36916, 17637},
		{22876, 36849, 18381},
		{23212, 36719, 19140},
		{23548, 36517, 19837},
		{23885, 36160, 20305},
		{24221, 35626, 20732},
		{24558, 35047, 21203},
		{24894, 34524, 21399},
		{25230, 34044, 19815},
		{25567, 32822, 15920},
		{25903, 31200, 11603},
		{26240, 31200, 11603},
		{26576, 31200, 11603},
		{26912, 31200, 11603},
		{27249, 31200, 11603},
		{27585, 31200, 11603},
		{27922, 31200, 11603},
		{28258, 31200, 11603},
		{28594, 31200, 11603},
		{28931, 31200, 11603},
		{29267, 31200, 11603},
		{29604, 31200, 11603},
		{29940, 31200, 11607}
	},
	{
		{0, 41760, 6890},
		{327, 41633, 5860},
		{653, 41533, 5925},
		{980, 41435, 5883},
		{1307, 41163, 5795},
		{1633, 40827, 6028},
		{1960, 40570, 6370},
		{2286, 40372, 6738},
		{2613, 40157, 7366},
		{2940, 39901, 8336},
		{3266, 39716, 9253},
		{3593, 39559, 9684},
		{3920, 39448, 9911},
		{4246, 39368, 9926},
		{4573, 39283, 10000},
		{4899, 39188, 9902},
		{5226, 39111, 10114},
		{5553, 39047, 10228},
		{5879, 38928, 10045},
		{6206, 38840, 10114},
		{6533, 38745, 10152},
		{6859, 38677, 10156},
		{7186, 38591, 10208},
		{7512, 38535, 10322},
		{7839, 38459, 10370},
		{8166, 38426, 10413},
		{8492, 38363, 10407},
		{8819, 38329, 10461},
		{9146, 38274, 10400},
		{9472, 38206, 10312},
		{9799, 38160, 10482},
		{10126, 38144, 10695},
		{10452, 38078, 10595},
		{10779, 38043, 10687},
		{11105, 38008, 10806},
		{11432, 37982, 10881},
		{11759, 37919, 14515},
		{12085, 37898, 14333},
		{12412, 37874, 15022},
		{12739, 37827, 15669},
		{13065, 37788, 15301},
		{13392, 37753, 11592},
		{13718, 37717, 11216},
		{14045, 37665, 11331},
		{14372, 37618, 11388},
		{14698, 37547, 11671},
		{15025, 37515, 12263},
		{15352, 37426, 12441},
		{15678, 37355, 12574},
		{16005, 37297, 12571},
		{16331, 37230, 12657},
		{16658, 37172, 12987},
		{16985, 37129, 13394},
		{17311, 37064, 13607},
		{17638, 37044, 13702},
		{17965, 36985, 14008},
		{18291, 36927, 13577},
		{18618, 36762, 12896},
		{18944, 36491, 13454},
		{19271, 36057, 13614},
		{19598, 35452, 16709},
		{19924, 34375, 13547},
		{20251, 32882, 16132},
		{20578, 31935, 13264},
		{20904, 30830, 12903},
		{21231, 30830, 12903},
		{21558, 30830, 12903},
		{21884, 30830, 12903},
		{22211, 30830, 12903},
		{22537, 30830, 12903},
		{22864, 30830, 12903},
		{23191, 30830, 12903},
		{23517, 30830, 12903},
		{23844, 30830, 12903},
		{24171, 30830, 12903},
		{24497, 30830, 12903},
		{24824, 30830, 12903},
		{25150, 30830, 12903},
		{25477, 30830, 12903},
		{25804, 30830, 12903},
		{26130, 30830, 12903},
		{26457, 30830, 12903},
		{26784, 30830, 12903},
		{27110, 30830, 12903},
		{27437, 30830, 12903},
		{27763, 30830, 12903},
		{28090, 30830, 12903},
		{28417, 30830, 12903},
		{28743, 30830, 12903},
		{29070, 30830, 12903}
	},
	{
		{0, 42950, 9653},
		{283, 42752, 9653},
		{567, 42580, 9941},
		{850, 42393, 10140},
		{1134, 42191, 10278},
		{1417, 41976, 10500},
		{1701, 41765, 10837},
		{1984, 41570, 11205},
		{2268, 41405, 11535},
		{2551, 41259, 11755},
		{2835, 41125, 11878},
		{3118, 41009, 11987},
		{3402, 40905, 12084},
		{3685, 40805, 12191},
		{3969, 40704, 12366},
		{4252, 40581, 12496},
		{4536, 40425, 12563},
		{4819, 40246, 12661},
		{5103, 40074, 12793},
		{5386, 39933, 12971},
		{5670, 39810, 13033},
		{5953, 39725, 13217},
		{6237, 39622, 13285},
		{6520, 39543, 13400},
		{6804, 39441, 13423},
		{7087, 39352, 13521},
		{7371, 39253, 13553},
		{7654, 39155, 13573},
		{7938, 39055, 13605},
		{8221, 38951, 13670},
		{8504, 38852, 13746},
		{8788, 38756, 13809},
		{9071, 38668, 13897},
		{9355, 38592, 14009},
		{9638, 38516, 14101},
		{9922, 38446, 14201},
		{10205, 38389, 14323},
		{10489, 38332, 14447},
		{10772, 38276, 14581},
		{11056, 38237, 14762},
		{11339, 38180, 14885},
		{11623, 38133, 15007},
		{11906, 38086, 15159},
		{12190, 38047, 15313},
		{12473, 38017, 15517},
		{12757, 37973, 15592},
		{13040, 37939, 15737},
		{13324, 37911, 15963},
		{13607, 37882, 16132},
		{13891, 37859, 16342},
		{14174, 37840, 16618},
		{14458, 37821, 16913},
		{14741, 37802, 17226},
		{15025, 37783, 17521},
		{15308, 37764, 17807},
		{15592, 37743, 18116},
		{15875, 37716, 18424},
		{16159, 37696, 18675},
		{16442, 37676, 18623},
		{16726, 37653, 18538},
		{17009, 37623, 18469},
		{17292, 37590, 18330},
		{17576, 37568, 18257},
		{17859, 37525, 18135},
		{18143, 37474, 17984},
		{18426, 37378, 17648},
		{18710, 33950, 6565},
		{18993, 33950, 6565},
		{19277, 33950, 6565},
		{19560, 33950, 6565},
		{19844, 33950, 6565},
		{20127, 33950, 6565},
		{20411, 33950, 6565},
		{20694, 33950, 6565},
		{20978, 33950, 6565},
		{21261, 33950, 6565},
		{21545, 33950, 6565},
		{21828, 33950, 6565},
		{22112, 33950, 6565},
		{22395, 33950, 6565},
		{22679, 33950, 6565},
		{22962, 33950, 6565},
		{23246, 33950, 6565},
		{23529, 33950, 6565},
		{23813, 33950, 6565},
		{24096, 33950, 6565},
		{24380, 33950, 6565},
		{24663, 33950, 6565},
		{24947, 33950, 6565},
		{25230, 33950, 6565}
	},
	{
		{0, 41600, 4323},
		{226, 41397, 4323},
		{451, 41219, 4503},
		{677, 41066, 4722},
		{903, 40939, 4844},
		{1129, 40841, 4917},
		{1354, 40743, 4957},
		{1580, 40640, 4989},
		{1806, 40527, 5039},
		{2032, 40402, 5090},
		{2257, 40286, 5139},
		{2483, 40177, 5197},
		{2709, 40072, 5265},
		{2934, 39974, 5265},
		{3160, 39888, 5301},
		{3386, 39814, 5351},
		{3612, 39753, 5398},
		{3837, 39686, 5422},
		{4063, 39618, 5446},
		{4289, 39554, 5481},
		{4515, 39491, 5528},
		{4740, 39408, 5552},
		{4966, 39343, 5595},
		{5192, 39276, 5600},
		{5418, 39200, 5558},
		{5643, 39114, 5558},
		{5869, 39031, 5558},
		{6095, 38940, 5495},
		{6320, 38842, 5378},
		{6546, 38745, 5279},
		{6772, 38660, 5203},
		{6998, 38585, 5181},
		{7223, 38516, 5195},
		{7449, 38440, 5171},
		{7675, 38378, 5104},
		{7901, 38322, 5083},
		{8126, 38272, 5108},
		{8352, 38235, 5132},
		{8578, 38197, 5156},
		{8803, 38151, 5168},
		{9029, 38102, 5168},
		{9255, 38064, 5168},
		{9481, 38033, 5210},
		{9706, 38003, 5261},
		{9932, 37976, 5311},
		{10158, 37961, 5360},
		{10384, 37932, 5386},
		{10609, 37911, 5425},
		{10835, 37891, 5460},
		{11061, 37861, 5460},
		{11287, 37838, 5483},
		{11512, 37825, 5508},
		{11738, 37813, 5525},
		{11964, 37791, 5525},
		{12189, 37783, 5573},
		{12415, 37775, 5637},
		{12641, 37768, 5695},
		{12867, 37760, 5720},
		{13092, 37753, 5793},
		{13318, 37735, 5802},
		{13544, 37710, 5801},
		{13770, 37680, 5850},
		{13995, 37649, 5850},
		{14221, 37613, 5885},
		{14447, 37573, 5924},
		{14672, 37526, 5950},
		{14898, 37459, 6000},
		{15124, 37391, 6031},
		{15350, 37320, 6054},
		{15575, 37244, 6079},
		{15801, 37162, 6104},
		{16027, 37107, 6146},
		{16253, 37065, 6235},
		{16478, 37027, 6380},
		{16704, 36989, 6503},
		{16930, 36969, 6735},
		{17156, 36950, 7086},
		{17381, 36923, 7565},
		{17607, 36845, 8172},
		{17833, 36629, 8783},
		{18058, 36254, 9699},
		{18284, 35714, 10777},
		{18510, 34970, 9881},
		{18736, 33949, 6565},
		{18961, 33940, 6565},
		{19187, 33940, 6565},
		{19413, 33940, 6565},
		{19639, 33940, 6565},
		{19864, 33940, 6565},
		{20090, 33940, 6565}
	}

};

/* T8 */
struct FUELGAUGE_PROFILE_STRUCT fg_profile_t8[TOTAL_BATTERY_NUMBER][90] = {
	{
		{0, 42980, 5308},
		{336, 42832, 5300},
		{673, 42691, 5331},
		{1009, 42556, 5398},
		{1346, 42415, 5485},
		{1682, 42266, 5548},
		{2018, 42112, 5595},
		{2355, 41957, 5682},
		{2691, 41794, 5832},
		{3028, 41626, 6033},
		{3364, 41462, 6278},
		{3700, 41282, 6561},
		{4037, 41093, 6884},
		{4373, 40898, 7298},
		{4710, 40742, 7686},
		{5046, 40606, 8046},
		{5382, 40465, 8353},
		{5719, 40292, 8598},
		{6055, 40111, 8792},
		{6392, 39963, 8879},
		{6728, 39844, 9029},
		{7064, 39739, 9179},
		{7401, 39645, 9246},
		{7737, 39566, 9311},
		{8074, 39487, 9387},
		{8410, 39392, 9497},
		{8747, 39303, 9489},
		{9083, 39210, 9482},
		{9419, 39103, 9569},
		{9756, 38984, 9502},
		{10092, 38869, 9452},
		{10429, 38766, 9541},
		{10765, 38687, 9629},
		{11101, 38611, 9693},
		{11438, 38530, 9715},
		{11774, 38467, 9814},
		{12111, 38406, 9923},
		{12447, 38346, 10032},
		{12783, 38285, 10122},
		{13120, 38230, 10245},
		{13456, 38183, 10420},
		{13793, 38149, 10574},
		{14129, 38109, 10719},
		{14465, 38062, 10850},
		{14802, 38028, 11085},
		{15138, 37991, 11315},
		{15475, 37951, 11534},
		{15811, 37924, 11666},
		{16147, 37893, 11830},
		{16484, 37860, 12028},
		{16820, 37833, 12290},
		{17157, 37798, 12509},
		{17493, 37757, 12691},
		{17829, 37717, 12909},
		{18166, 37680, 13178},
		{18502, 37644, 13475},
		{18839, 37576, 13671},
		{19175, 37517, 13920},
		{19511, 37462, 14186},
		{19848, 37394, 14317},
		{20184, 37323, 14533},
		{20521, 37250, 14798},
		{20857, 37183, 15083},
		{21193, 37124, 15425},
		{21530, 37069, 15800},
		{21866, 37009, 16194},
		{22203, 36962, 16860},
		{22539, 36916, 17637},
		{22876, 36849, 18381},
		{23212, 36719, 19140},
		{23548, 36517, 19837},
		{23885, 36160, 20305},
		{24221, 35626, 20732},
		{24558, 35047, 21203},
		{24894, 34524, 21399},
		{25230, 34044, 19815},
		{25567, 32822, 15920},
		{25903, 31200, 11603},
		{26240, 31200, 11603},
		{26576, 31200, 11603},
		{26912, 31200, 11603},
		{27249, 31200, 11603},
		{27585, 31200, 11603},
		{27922, 31200, 11603},
		{28258, 31200, 11603},
		{28594, 31200, 11603},
		{28931, 31200, 11603},
		{29267, 31200, 11603},
		{29604, 31200, 11603},
		{29940, 31200, 11608}
	},
	{
		{0, 41760, 6890},
		{327, 41633, 5860},
		{653, 41533, 5925},
		{980, 41435, 5883},
		{1307, 41163, 5795},
		{1633, 40827, 6028},
		{1960, 40570, 6370},
		{2286, 40372, 6738},
		{2613, 40157, 7366},
		{2940, 39901, 8336},
		{3266, 39716, 9253},
		{3593, 39559, 9684},
		{3920, 39448, 9911},
		{4246, 39368, 9926},
		{4573, 39283, 10000},
		{4899, 39188, 9902},
		{5226, 39111, 10114},
		{5553, 39047, 10228},
		{5879, 38928, 10045},
		{6206, 38840, 10114},
		{6533, 38745, 10152},
		{6859, 38677, 10156},
		{7186, 38591, 10208},
		{7512, 38535, 10322},
		{7839, 38459, 10370},
		{8166, 38426, 10413},
		{8492, 38363, 10407},
		{8819, 38329, 10461},
		{9146, 38274, 10400},
		{9472, 38206, 10312},
		{9799, 38160, 10482},
		{10126, 38144, 10695},
		{10452, 38078, 10595},
		{10779, 38043, 10687},
		{11105, 38008, 10806},
		{11432, 37982, 10881},
		{11759, 37919, 14515},
		{12085, 37898, 14333},
		{12412, 37874, 15022},
		{12739, 37827, 15669},
		{13065, 37788, 15301},
		{13392, 37753, 11592},
		{13718, 37717, 11216},
		{14045, 37665, 11331},
		{14372, 37618, 11388},
		{14698, 37547, 11671},
		{15025, 37515, 12263},
		{15352, 37426, 12441},
		{15678, 37355, 12574},
		{16005, 37297, 12571},
		{16331, 37230, 12657},
		{16658, 37172, 12987},
		{16985, 37129, 13394},
		{17311, 37064, 13607},
		{17638, 37044, 13702},
		{17965, 36985, 14008},
		{18291, 36927, 13577},
		{18618, 36762, 12896},
		{18944, 36491, 13454},
		{19271, 36057, 13614},
		{19598, 35452, 16709},
		{19924, 34375, 13547},
		{20251, 32882, 16132},
		{20578, 31935, 13264},
		{20904, 30830, 12903},
		{21231, 30830, 12903},
		{21558, 30830, 12903},
		{21884, 30830, 12903},
		{22211, 30830, 12903},
		{22537, 30830, 12903},
		{22864, 30830, 12903},
		{23191, 30830, 12903},
		{23517, 30830, 12903},
		{23844, 30830, 12903},
		{24171, 30830, 12903},
		{24497, 30830, 12903},
		{24824, 30830, 12903},
		{25150, 30830, 12903},
		{25477, 30830, 12903},
		{25804, 30830, 12903},
		{26130, 30830, 12903},
		{26457, 30830, 12903},
		{26784, 30830, 12903},
		{27110, 30830, 12903},
		{27437, 30830, 12903},
		{27763, 30830, 12903},
		{28090, 30830, 12903},
		{28417, 30830, 12903},
		{28743, 30830, 12903},
		{29070, 30830, 12903}
	},
	{
		{0, 42950, 9653},
		{283, 42752, 9653},
		{567, 42580, 9941},
		{850, 42393, 10140},
		{1134, 42191, 10278},
		{1417, 41976, 10500},
		{1701, 41765, 10837},
		{1984, 41570, 11205},
		{2268, 41405, 11535},
		{2551, 41259, 11755},
		{2835, 41125, 11878},
		{3118, 41009, 11987},
		{3402, 40905, 12084},
		{3685, 40805, 12191},
		{3969, 40704, 12366},
		{4252, 40581, 12496},
		{4536, 40425, 12563},
		{4819, 40246, 12661},
		{5103, 40074, 12793},
		{5386, 39933, 12971},
		{5670, 39810, 13033},
		{5953, 39725, 13217},
		{6237, 39622, 13285},
		{6520, 39543, 13400},
		{6804, 39441, 13423},
		{7087, 39352, 13521},
		{7371, 39253, 13553},
		{7654, 39155, 13573},
		{7938, 39055, 13605},
		{8221, 38951, 13670},
		{8504, 38852, 13746},
		{8788, 38756, 13809},
		{9071, 38668, 13897},
		{9355, 38592, 14009},
		{9638, 38516, 14101},
		{9922, 38446, 14201},
		{10205, 38389, 14323},
		{10489, 38332, 14447},
		{10772, 38276, 14581},
		{11056, 38237, 14762},
		{11339, 38180, 14885},
		{11623, 38133, 15007},
		{11906, 38086, 15159},
		{12190, 38047, 15313},
		{12473, 38017, 15517},
		{12757, 37973, 15592},
		{13040, 37939, 15737},
		{13324, 37911, 15963},
		{13607, 37882, 16132},
		{13891, 37859, 16342},
		{14174, 37840, 16618},
		{14458, 37821, 16913},
		{14741, 37802, 17226},
		{15025, 37783, 17521},
		{15308, 37764, 17807},
		{15592, 37743, 18116},
		{15875, 37716, 18424},
		{16159, 37696, 18675},
		{16442, 37676, 18623},
		{16726, 37653, 18538},
		{17009, 37623, 18469},
		{17292, 37590, 18330},
		{17576, 37568, 18257},
		{17859, 37525, 18135},
		{18143, 37474, 17984},
		{18426, 37378, 17648},
		{18710, 33950, 6565},
		{18993, 33950, 6565},
		{19277, 33950, 6565},
		{19560, 33950, 6565},
		{19844, 33950, 6565},
		{20127, 33950, 6565},
		{20411, 33950, 6565},
		{20694, 33950, 6565},
		{20978, 33950, 6565},
		{21261, 33950, 6565},
		{21545, 33950, 6565},
		{21828, 33950, 6565},
		{22112, 33950, 6565},
		{22395, 33950, 6565},
		{22679, 33950, 6565},
		{22962, 33950, 6565},
		{23246, 33950, 6565},
		{23529, 33950, 6565},
		{23813, 33950, 6565},
		{24096, 33950, 6565},
		{24380, 33950, 6565},
		{24663, 33950, 6565},
		{24947, 33950, 6565},
		{25230, 33950, 6565}
	},
	{
		{0, 41600, 4323},
		{226, 41397, 4323},
		{451, 41219, 4503},
		{677, 41066, 4722},
		{903, 40939, 4844},
		{1129, 40841, 4917},
		{1354, 40743, 4957},
		{1580, 40640, 4989},
		{1806, 40527, 5039},
		{2032, 40402, 5090},
		{2257, 40286, 5139},
		{2483, 40177, 5197},
		{2709, 40072, 5265},
		{2934, 39974, 5265},
		{3160, 39888, 5301},
		{3386, 39814, 5351},
		{3612, 39753, 5398},
		{3837, 39686, 5422},
		{4063, 39618, 5446},
		{4289, 39554, 5481},
		{4515, 39491, 5528},
		{4740, 39408, 5552},
		{4966, 39343, 5595},
		{5192, 39276, 5600},
		{5418, 39200, 5558},
		{5643, 39114, 5558},
		{5869, 39031, 5558},
		{6095, 38940, 5495},
		{6320, 38842, 5378},
		{6546, 38745, 5279},
		{6772, 38660, 5203},
		{6998, 38585, 5181},
		{7223, 38516, 5195},
		{7449, 38440, 5171},
		{7675, 38378, 5104},
		{7901, 38322, 5083},
		{8126, 38272, 5108},
		{8352, 38235, 5132},
		{8578, 38197, 5156},
		{8803, 38151, 5168},
		{9029, 38102, 5168},
		{9255, 38064, 5168},
		{9481, 38033, 5210},
		{9706, 38003, 5261},
		{9932, 37976, 5311},
		{10158, 37961, 5360},
		{10384, 37932, 5386},
		{10609, 37911, 5425},
		{10835, 37891, 5460},
		{11061, 37861, 5460},
		{11287, 37838, 5483},
		{11512, 37825, 5508},
		{11738, 37813, 5525},
		{11964, 37791, 5525},
		{12189, 37783, 5573},
		{12415, 37775, 5637},
		{12641, 37768, 5695},
		{12867, 37760, 5720},
		{13092, 37753, 5793},
		{13318, 37735, 5802},
		{13544, 37710, 5801},
		{13770, 37680, 5850},
		{13995, 37649, 5850},
		{14221, 37613, 5885},
		{14447, 37573, 5924},
		{14672, 37526, 5950},
		{14898, 37459, 6000},
		{15124, 37391, 6031},
		{15350, 37320, 6054},
		{15575, 37244, 6079},
		{15801, 37162, 6104},
		{16027, 37107, 6146},
		{16253, 37065, 6235},
		{16478, 37027, 6380},
		{16704, 36989, 6503},
		{16930, 36969, 6735},
		{17156, 36950, 7086},
		{17381, 36923, 7565},
		{17607, 36845, 8172},
		{17833, 36629, 8783},
		{18058, 36254, 9699},
		{18284, 35714, 10777},
		{18510, 34970, 9881},
		{18736, 33949, 6565},
		{18961, 33940, 6565},
		{19187, 33940, 6565},
		{19413, 33940, 6565},
		{19639, 33940, 6565},
		{19864, 33940, 6565},
		{20090, 33940, 6565}
	}

};

/* T9 */
struct FUELGAUGE_PROFILE_STRUCT fg_profile_t9[TOTAL_BATTERY_NUMBER][90] = {
	{
		{0, 42980, 5309},
		{336, 42832, 5300},
		{673, 42691, 5331},
		{1009, 42556, 5398},
		{1346, 42415, 5485},
		{1682, 42266, 5548},
		{2018, 42112, 5595},
		{2355, 41957, 5682},
		{2691, 41794, 5832},
		{3028, 41626, 6033},
		{3364, 41462, 6278},
		{3700, 41282, 6561},
		{4037, 41093, 6884},
		{4373, 40898, 7298},
		{4710, 40742, 7686},
		{5046, 40606, 8046},
		{5382, 40465, 8353},
		{5719, 40292, 8598},
		{6055, 40111, 8792},
		{6392, 39963, 8879},
		{6728, 39844, 9029},
		{7064, 39739, 9179},
		{7401, 39645, 9246},
		{7737, 39566, 9311},
		{8074, 39487, 9387},
		{8410, 39392, 9497},
		{8747, 39303, 9489},
		{9083, 39210, 9482},
		{9419, 39103, 9569},
		{9756, 38984, 9502},
		{10092, 38869, 9452},
		{10429, 38766, 9541},
		{10765, 38687, 9629},
		{11101, 38611, 9693},
		{11438, 38530, 9715},
		{11774, 38467, 9814},
		{12111, 38406, 9923},
		{12447, 38346, 10032},
		{12783, 38285, 10122},
		{13120, 38230, 10245},
		{13456, 38183, 10420},
		{13793, 38149, 10574},
		{14129, 38109, 10719},
		{14465, 38062, 10850},
		{14802, 38028, 11085},
		{15138, 37991, 11315},
		{15475, 37951, 11534},
		{15811, 37924, 11666},
		{16147, 37893, 11830},
		{16484, 37860, 12028},
		{16820, 37833, 12290},
		{17157, 37798, 12509},
		{17493, 37757, 12691},
		{17829, 37717, 12909},
		{18166, 37680, 13178},
		{18502, 37644, 13475},
		{18839, 37576, 13671},
		{19175, 37517, 13920},
		{19511, 37462, 14186},
		{19848, 37394, 14317},
		{20184, 37323, 14533},
		{20521, 37250, 14798},
		{20857, 37183, 15083},
		{21193, 37124, 15425},
		{21530, 37069, 15800},
		{21866, 37009, 16194},
		{22203, 36962, 16860},
		{22539, 36916, 17637},
		{22876, 36849, 18381},
		{23212, 36719, 19140},
		{23548, 36517, 19837},
		{23885, 36160, 20305},
		{24221, 35626, 20732},
		{24558, 35047, 21203},
		{24894, 34524, 21399},
		{25230, 34044, 19815},
		{25567, 32822, 15920},
		{25903, 31200, 11603},
		{26240, 31200, 11603},
		{26576, 31200, 11603},
		{26912, 31200, 11603},
		{27249, 31200, 11603},
		{27585, 31200, 11603},
		{27922, 31200, 11603},
		{28258, 31200, 11603},
		{28594, 31200, 11603},
		{28931, 31200, 11603},
		{29267, 31200, 11603},
		{29604, 31200, 11603},
		{29940, 31200, 11609}
	},
	{
		{0, 41760, 6890},
		{327, 41633, 5860},
		{653, 41533, 5925},
		{980, 41435, 5883},
		{1307, 41163, 5795},
		{1633, 40827, 6028},
		{1960, 40570, 6370},
		{2286, 40372, 6738},
		{2613, 40157, 7366},
		{2940, 39901, 8336},
		{3266, 39716, 9253},
		{3593, 39559, 9684},
		{3920, 39448, 9911},
		{4246, 39368, 9926},
		{4573, 39283, 10000},
		{4899, 39188, 9902},
		{5226, 39111, 10114},
		{5553, 39047, 10228},
		{5879, 38928, 10045},
		{6206, 38840, 10114},
		{6533, 38745, 10152},
		{6859, 38677, 10156},
		{7186, 38591, 10208},
		{7512, 38535, 10322},
		{7839, 38459, 10370},
		{8166, 38426, 10413},
		{8492, 38363, 10407},
		{8819, 38329, 10461},
		{9146, 38274, 10400},
		{9472, 38206, 10312},
		{9799, 38160, 10482},
		{10126, 38144, 10695},
		{10452, 38078, 10595},
		{10779, 38043, 10687},
		{11105, 38008, 10806},
		{11432, 37982, 10881},
		{11759, 37919, 14515},
		{12085, 37898, 14333},
		{12412, 37874, 15022},
		{12739, 37827, 15669},
		{13065, 37788, 15301},
		{13392, 37753, 11592},
		{13718, 37717, 11216},
		{14045, 37665, 11331},
		{14372, 37618, 11388},
		{14698, 37547, 11671},
		{15025, 37515, 12263},
		{15352, 37426, 12441},
		{15678, 37355, 12574},
		{16005, 37297, 12571},
		{16331, 37230, 12657},
		{16658, 37172, 12987},
		{16985, 37129, 13394},
		{17311, 37064, 13607},
		{17638, 37044, 13702},
		{17965, 36985, 14008},
		{18291, 36927, 13577},
		{18618, 36762, 12896},
		{18944, 36491, 13454},
		{19271, 36057, 13614},
		{19598, 35452, 16709},
		{19924, 34375, 13547},
		{20251, 32882, 16132},
		{20578, 31935, 13264},
		{20904, 30830, 12903},
		{21231, 30830, 12903},
		{21558, 30830, 12903},
		{21884, 30830, 12903},
		{22211, 30830, 12903},
		{22537, 30830, 12903},
		{22864, 30830, 12903},
		{23191, 30830, 12903},
		{23517, 30830, 12903},
		{23844, 30830, 12903},
		{24171, 30830, 12903},
		{24497, 30830, 12903},
		{24824, 30830, 12903},
		{25150, 30830, 12903},
		{25477, 30830, 12903},
		{25804, 30830, 12903},
		{26130, 30830, 12903},
		{26457, 30830, 12903},
		{26784, 30830, 12903},
		{27110, 30830, 12903},
		{27437, 30830, 12903},
		{27763, 30830, 12903},
		{28090, 30830, 12903},
		{28417, 30830, 12903},
		{28743, 30830, 12903},
		{29070, 30830, 12903}
	},
	{
		{0, 42950, 9653},
		{283, 42752, 9653},
		{567, 42580, 9941},
		{850, 42393, 10140},
		{1134, 42191, 10278},
		{1417, 41976, 10500},
		{1701, 41765, 10837},
		{1984, 41570, 11205},
		{2268, 41405, 11535},
		{2551, 41259, 11755},
		{2835, 41125, 11878},
		{3118, 41009, 11987},
		{3402, 40905, 12084},
		{3685, 40805, 12191},
		{3969, 40704, 12366},
		{4252, 40581, 12496},
		{4536, 40425, 12563},
		{4819, 40246, 12661},
		{5103, 40074, 12793},
		{5386, 39933, 12971},
		{5670, 39810, 13033},
		{5953, 39725, 13217},
		{6237, 39622, 13285},
		{6520, 39543, 13400},
		{6804, 39441, 13423},
		{7087, 39352, 13521},
		{7371, 39253, 13553},
		{7654, 39155, 13573},
		{7938, 39055, 13605},
		{8221, 38951, 13670},
		{8504, 38852, 13746},
		{8788, 38756, 13809},
		{9071, 38668, 13897},
		{9355, 38592, 14009},
		{9638, 38516, 14101},
		{9922, 38446, 14201},
		{10205, 38389, 14323},
		{10489, 38332, 14447},
		{10772, 38276, 14581},
		{11056, 38237, 14762},
		{11339, 38180, 14885},
		{11623, 38133, 15007},
		{11906, 38086, 15159},
		{12190, 38047, 15313},
		{12473, 38017, 15517},
		{12757, 37973, 15592},
		{13040, 37939, 15737},
		{13324, 37911, 15963},
		{13607, 37882, 16132},
		{13891, 37859, 16342},
		{14174, 37840, 16618},
		{14458, 37821, 16913},
		{14741, 37802, 17226},
		{15025, 37783, 17521},
		{15308, 37764, 17807},
		{15592, 37743, 18116},
		{15875, 37716, 18424},
		{16159, 37696, 18675},
		{16442, 37676, 18623},
		{16726, 37653, 18538},
		{17009, 37623, 18469},
		{17292, 37590, 18330},
		{17576, 37568, 18257},
		{17859, 37525, 18135},
		{18143, 37474, 17984},
		{18426, 37378, 17648},
		{18710, 33950, 6565},
		{18993, 33950, 6565},
		{19277, 33950, 6565},
		{19560, 33950, 6565},
		{19844, 33950, 6565},
		{20127, 33950, 6565},
		{20411, 33950, 6565},
		{20694, 33950, 6565},
		{20978, 33950, 6565},
		{21261, 33950, 6565},
		{21545, 33950, 6565},
		{21828, 33950, 6565},
		{22112, 33950, 6565},
		{22395, 33950, 6565},
		{22679, 33950, 6565},
		{22962, 33950, 6565},
		{23246, 33950, 6565},
		{23529, 33950, 6565},
		{23813, 33950, 6565},
		{24096, 33950, 6565},
		{24380, 33950, 6565},
		{24663, 33950, 6565},
		{24947, 33950, 6565},
		{25230, 33950, 6565}
	},
	{
		{0, 41600, 4323},
		{226, 41397, 4323},
		{451, 41219, 4503},
		{677, 41066, 4722},
		{903, 40939, 4844},
		{1129, 40841, 4917},
		{1354, 40743, 4957},
		{1580, 40640, 4989},
		{1806, 40527, 5039},
		{2032, 40402, 5090},
		{2257, 40286, 5139},
		{2483, 40177, 5197},
		{2709, 40072, 5265},
		{2934, 39974, 5265},
		{3160, 39888, 5301},
		{3386, 39814, 5351},
		{3612, 39753, 5398},
		{3837, 39686, 5422},
		{4063, 39618, 5446},
		{4289, 39554, 5481},
		{4515, 39491, 5528},
		{4740, 39408, 5552},
		{4966, 39343, 5595},
		{5192, 39276, 5600},
		{5418, 39200, 5558},
		{5643, 39114, 5558},
		{5869, 39031, 5558},
		{6095, 38940, 5495},
		{6320, 38842, 5378},
		{6546, 38745, 5279},
		{6772, 38660, 5203},
		{6998, 38585, 5181},
		{7223, 38516, 5195},
		{7449, 38440, 5171},
		{7675, 38378, 5104},
		{7901, 38322, 5083},
		{8126, 38272, 5108},
		{8352, 38235, 5132},
		{8578, 38197, 5156},
		{8803, 38151, 5168},
		{9029, 38102, 5168},
		{9255, 38064, 5168},
		{9481, 38033, 5210},
		{9706, 38003, 5261},
		{9932, 37976, 5311},
		{10158, 37961, 5360},
		{10384, 37932, 5386},
		{10609, 37911, 5425},
		{10835, 37891, 5460},
		{11061, 37861, 5460},
		{11287, 37838, 5483},
		{11512, 37825, 5508},
		{11738, 37813, 5525},
		{11964, 37791, 5525},
		{12189, 37783, 5573},
		{12415, 37775, 5637},
		{12641, 37768, 5695},
		{12867, 37760, 5720},
		{13092, 37753, 5793},
		{13318, 37735, 5802},
		{13544, 37710, 5801},
		{13770, 37680, 5850},
		{13995, 37649, 5850},
		{14221, 37613, 5885},
		{14447, 37573, 5924},
		{14672, 37526, 5950},
		{14898, 37459, 6000},
		{15124, 37391, 6031},
		{15350, 37320, 6054},
		{15575, 37244, 6079},
		{15801, 37162, 6104},
		{16027, 37107, 6146},
		{16253, 37065, 6235},
		{16478, 37027, 6380},
		{16704, 36989, 6503},
		{16930, 36969, 6735},
		{17156, 36950, 7086},
		{17381, 36923, 7565},
		{17607, 36845, 8172},
		{17833, 36629, 8783},
		{18058, 36254, 9699},
		{18284, 35714, 10777},
		{18510, 34970, 9881},
		{18736, 33949, 6565},
		{18961, 33940, 6565},
		{19187, 33940, 6565},
		{19413, 33940, 6565},
		{19639, 33940, 6565},
		{19864, 33940, 6565},
		{20090, 33940, 6565}
	}

};


/* ============================================================
 * function prototype
 * ============================================================
 */

#endif
